Skip to main content
Version: v26

SetVisibleRangeOptions

Interface

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

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

Type

boolean


percentRightMargin

Optional

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

Type

number