Skip to content

charton API


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

Interface: NumericLineOptions ​

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

Options of a line series on a NumericChart (addLine).

Properties ​

area ​

area: boolean

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

Fill under the line with a vertical gradient of its colour. Default false.


color? ​

optional color?: string

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

Default: the theme's line.


legend ​

legend: boolean

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

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


lineStyle ​

lineStyle: LineStyle

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


lineType ​

lineType: "step" | "simple"

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

'simple' joins points straight; 'step' holds each value until the next item's x, then jumps (depth curves). Default 'simple'.


lineWidth ​

lineWidth: number

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


title ​

title: string

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