Skip to content

charton API


charton API / @chart-on/core / index / ValuePoint

Interface: ValuePoint ​

Defined in: packages/core/src/types.ts:29

One value at time, for line and histogram series, with optional per-point colours.

Properties ​

areaColor? ​

optional areaColor?: string

Defined in: packages/core/src/types.ts:38

Line series with area: the fill under the segment from this point to the next, fading downwards.


color? ​

optional color?: string

Defined in: packages/core/src/types.ts:36

Optional per-point colour: the column of a histogram, or on a line the segment from this point to the next (see colorMode).


time ​

time: number

Defined in: packages/core/src/types.ts:30


value ​

value: number

Defined in: packages/core/src/types.ts:31