Skip to content

charton API


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

Interface: NumericChartOptions ​

Defined in: packages/core/src/numeric/chart.ts:48

Options of createNumericChart; see defaultNumericChartOptions.

Properties ​

crosshair ​

crosshair: boolean

Defined in: packages/core/src/numeric/chart.ts:56

Crosshair with axis labels under the pointer. Default true.


grid ​

grid: boolean

Defined in: packages/core/src/numeric/chart.ts:54

Grid lines at the axis ticks. Default true.


horizontalScale ​

horizontalScale: NumericHorizontalScaleOptions

Defined in: packages/core/src/numeric/chart.ts:51


interactive ​

interactive: boolean

Defined in: packages/core/src/numeric/chart.ts:60

Pan, zoom and the crosshair follow the pointer and keyboard. Default true.


legend ​

legend: boolean

Defined in: packages/core/src/numeric/chart.ts:58

Series titles in the top-left corner, with their values under the crosshair. Default true.


priceScale ​

priceScale: NumericPriceScaleOptions

Defined in: packages/core/src/numeric/chart.ts:52


theme? ​

optional theme?: Partial<ChartTheme>

Defined in: packages/core/src/numeric/chart.ts:50

Theme tokens over the dark default, as for createChart.