Skip to main content

Interface: SetVisibleRangeOptions

Charting Library.SetVisibleRangeOptions

Options for setting the visible range.

Setting applyDefaultRightMargin or percentRightMargin will result in the to value of the range specified being ignored and the timestamp of the latest bar on the chart being used instead.

Properties

applyDefaultRightMargin

Optional applyDefaultRightMargin: boolean

Apply the default right offset (margin) when setting the range.


percentRightMargin

Optional percentRightMargin: number

Apply a percentage right offset (margin) when setting the range.