charton API / @chart-on/core / index / NumericPriceScaleOptions
Interface: NumericPriceScaleOptions
Defined in: packages/core/src/numeric/chart.ts:37
The vertical (price) axis of a NumericChart. It always fits the visible data.
Properties
format?
optionalformat?:PriceFormat
Defined in: packages/core/src/numeric/chart.ts:39
How prices are labelled; default: decimals from the tick step.
invert
invert:
boolean
Defined in: packages/core/src/numeric/chart.ts:41
Larger prices lower down. Default false.
marginBottom
marginBottom:
number
Defined in: packages/core/src/numeric/chart.ts:44
marginTop
marginTop:
number
Defined in: packages/core/src/numeric/chart.ts:43
Free room above and below the data, as a fraction of the plot height. Defaults 0.1 and 0.05.