Skip to content

Interface: ScalarField ​

Defined in: charts/fields.ts:19

A grid of scalar values sampled at the nodes of a regular lattice.

Extended by ​

Properties ​

cols ​

ts
cols: number;

Defined in: charts/fields.ts:22


extent ​

ts
extent: {
  x: Range;
  y: Range;
};

Defined in: charts/fields.ts:24

x ​

ts
x: Range;

y ​

ts
y: Range;

rows ​

ts
rows: number;

Defined in: charts/fields.ts:23


values ​

ts
values: ArrayLike<number>;

Defined in: charts/fields.ts:21

Row-major, length cols * rows; row 0 is at the bottom of extent.y.

MIT licensed. WebGL2 required.