Skip to content

Interface: TripcolorOptions ​

Defined in: charts/tri.ts:100

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

Extends ​

Properties ​

colormap? ​

ts
optional colormap?: ColormapSpec;

Defined in: charts/tri.ts:103


domain? ​

ts
optional domain?: Range;

Defined in: charts/tri.ts:104


edgeColor? ​

ts
optional edgeColor?: string;

Defined in: charts/tri.ts:108


edges? ​

ts
optional edges?: boolean;

Defined in: charts/tri.ts:107

Stroke the mesh over the fill. Default false.


name? ​

ts
optional name?: string;

Defined in: charts/tri.ts:109


opacity? ​

ts
optional opacity?: number;

Defined in: charts/tri.ts:105


renderType? ​

ts
optional renderType?: RenderType;

Defined in: charts/tri.ts:110


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


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:111


z ​

ts
z: ArrayLike<number>;

Defined in: charts/tri.ts:102

One value per point; each triangle takes the mean of its three.

MIT licensed. WebGL2 required.