Skip to content

charton API


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

Interface: NumericItem ​

Defined in: packages/core/src/numeric/types.ts:5

One item of a numeric-axis series: a position on the horizontal axis and a value.

Properties ​

color? ​

optional color?: string

Defined in: packages/core/src/numeric/types.ts:10

Colour of this histogram column; ignored by line series.


value ​

value: number

Defined in: packages/core/src/numeric/types.ts:8


x ​

x: number

Defined in: packages/core/src/numeric/types.ts:7

Horizontal position: a price, a maturity in years, a strike… Any finite number.