Skip to main content

Interface: StudyOverlayScaleMargins

Charting Library.StudyOverlayScaleMargins

Margins of the indicator price scale, expressed as a fraction of the pane height. The sum of top and bottom should be less than 1.

Properties​

bottom​

Readonly

bottom: number

Empty space below the indicator plots. 0 makes the plots sit on the bottom edge of the pane.


top​

Readonly

top: number

Empty space above the indicator plots. 0.75 leaves the bottom quarter of the pane for the indicator.