Skip to content

charton API


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

Interface: NumericPriceLineOptions ​

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

Options of a price line on a NumericChart (addPriceLine).

Properties ​

axisLabel ​

axisLabel: boolean

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

Show the price on the price axis. Default true.


color? ​

optional color?: string

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

Default: the theme's referenceLine.


lineStyle ​

lineStyle: LineStyle

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


lineWidth ​

lineWidth: number

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


price ​

price: number

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


title ​

title: string

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

Text above the line at the right edge of the plot.