Skip to content

Interface: TricontourOptions ​

Defined in: charts/tri.ts:157

Scattered sample points, with an optional ready-made mesh.

Extends ​

Properties ​

color? ​

ts
optional color?: string;

Defined in: charts/tri.ts:163

Single line colour; if omitted, levels are coloured by the colormap.


colormap? ​

ts
optional colormap?: ColormapSpec;

Defined in: charts/tri.ts:164


levels? ​

ts
optional levels?: number | number[];

Defined in: charts/tri.ts:161

Explicit levels, or a count of evenly spaced ones. Default 8.


name? ​

ts
optional name?: string;

Defined in: charts/tri.ts:167


renderType? ​

ts
optional renderType?: RenderType;

Defined in: charts/tri.ts:168


triangles? ​

ts
optional triangles?: ArrayLike<number>;

Defined in: charts/tri.ts:22

Vertex indices, three per triangle. Computed by Delaunay when omitted.

Inherited from ​

TriangulationInput.triangles


width? ​

ts
optional width?: number;

Defined in: charts/tri.ts:166

Line width in data units. Defaults to 1/400 of the x span.


x ​

ts
x: ArrayLike<number>;

Defined in: charts/tri.ts:19

Inherited from ​

TriangulationInput.x


y ​

ts
y: ArrayLike<number>;

Defined in: charts/tri.ts:20

Inherited from ​

TriangulationInput.y


yAxis? ​

ts
optional yAxis?: string;

Defined in: charts/tri.ts:169


z ​

ts
z: ArrayLike<number>;

Defined in: charts/tri.ts:159

One value per point.

MIT licensed. WebGL2 required.