charton API / @chart-on/core / index / PriceScaleOptions
Interface: PriceScaleOptions
Defined in: packages/core/src/scales.ts:330
The options a PriceScale is created with.
Properties
id?
optionalid?:string
Defined in: packages/core/src/scales.ts:338
Scale id within its pane (default 'right').
marginBottom?
optionalmarginBottom?:number|null
Defined in: packages/core/src/scales.ts:336
marginTop?
optionalmarginTop?:number|null
Defined in: packages/core/src/scales.ts:335
Fraction of pane height left empty above/below the data. A side left out or null is sized by the chart each frame (autoMargins).
side?
optionalside?:PriceScaleSide
Defined in: packages/core/src/scales.ts:340
Where its axis shows; 'none' overlays the pane without an axis.