Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 435 Bytes

Price-Scale-Api.md

File metadata and controls

21 lines (12 loc) · 435 Bytes

Price Scale API

getMode()

Returns current mode of the price scale.

setMode(newMode)

  1. newMode - new mode for the price scale

Changes current mode of the price scale.

Primitive Types

PriceScaleMode

Available modes price scale can operate in:

  • 0 - normal mode of the price scale
  • 1 - logarithmic mode of the price scale
  • 2 - percentage mode of the price scale