Skip to content

charton API


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

Interface: NumericHistogramOptions ​

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

Options of a histogram series on a NumericChart (addHistogram).

Properties ​

base ​

base: number

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

Value the columns grow from. Default 0.


color? ​

optional color?: string

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

Default: the theme's line. An item's own color wins.


columnWidth? ​

optional columnWidth?: number

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

Column width in x units; default 80% of the smallest gap between items.


legend ​

legend: boolean

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

false leaves the series out of the legend. Default true.


title ​

title: string

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