Skip to content

charton API


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? ​

optional id?: string

Defined in: packages/core/src/scales.ts:338

Scale id within its pane (default 'right').


marginBottom? ​

optional marginBottom?: number | null

Defined in: packages/core/src/scales.ts:336


marginTop? ​

optional marginTop?: 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? ​

optional side?: PriceScaleSide

Defined in: packages/core/src/scales.ts:340

Where its axis shows; 'none' overlays the pane without an axis.