Skip to content

Interface: TriplotOptions ​

Defined in: charts/tri.ts:53

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

Extends ​

Properties ​

color? ​

ts
optional color?: string;

Defined in: charts/tri.ts:54


name? ​

ts
optional name?: string;

Defined in: charts/tri.ts:60


pointSize? ​

ts
optional pointSize?: number;

Defined in: charts/tri.ts:59


renderType? ​

ts
optional renderType?: RenderType;

Defined in: charts/tri.ts:61


showPoints? ​

ts
optional showPoints?: boolean;

Defined in: charts/tri.ts:58

Also mark the sample points. Default false.


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

Edge width in data units. Defaults to 1/500 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:62

MIT licensed. WebGL2 required.