Time Scale Api - gazsiazasz/tradingview_wiki GitHub Wiki

Time Scale API

coordinateToTime(x)

Returns time associated with given x coordinate.

barSpacingChanged()

Users will be notified every time barSpacing value is changed. This typically occurs when zooming in/out on the chart.

rightOffsetChanged()

Users will be notified every time rightOffset value is changed. This typically occurs when scrolling left/right on the chart.