Skip to content

Pane Api

Jenkins edited this page Apr 30, 2019 · 2 revisions

Pane API

hasMainSeries()

Returns true if the pane contains the main series.

getLeftPriceScales()

Returns an array of the PriceScaleApi instances that allows interaction with left price scales. The array may be empty if there is not any price scale on the left side of the pane.

getRightPriceScales()

Returns an array of the PriceScaleApi instances that allows interaction with right price scales. The array may be empty if there is not any price scale on the right side of the pane.

getMainSourcePriceScale()

Returns:

  • an instance of the PriceScaleApi that allows you to interact with the price scale of the main source
  • null if the main source is not attached to any price scale (it is in 'No Scale' mode)

Clone this wiki locally