ScrollbarSettingsModel

23 Sep 20251 minute to read

Interface for a class ScrollbarSettings

Properties

enable boolean

If set to true, activates the scrollbar for lazy loading in charts.
If set to false, the scrollbar is disabled.

enableZoom boolean

Specifies whether zooming by scrollbar is enabled or disabled.

gripColor string

The gripColor property specifies the color of the thumb grip of the scrollbar.

height number

Defines the height of the scrollbar.

pointsLength number

Defines the length of the points for numeric and logarithmic values.

position ScrollbarPosition

Specifies the position of the scrollbar in the chart.
The available options are:

  • Top: Places the scrollbar at the top of the chart. Applicable only for horizontal scrollbars.
  • Bottom: Places the scrollbar at the bottom of the chart. Applicable only for horizontal scrollbars.
  • Left: Places the scrollbar on the left side of the chart. Applicable only for vertical scrollbars.
  • Right: Places the scrollbar on the right side of the chart. Applicable only for vertical scrollbars.
  • PlaceNextToAxisLine: Places the scrollbar next to the axis line.

range ScrollbarSettingsRangeModel

Specifies the range for date-time values only.

scrollbarColor string

Defines the color for the scrollbar.

scrollbarRadius number

Defines the border radius for the scrollbar.

trackColor string

Specifies the color used for the background of the track area in the scrollbar.

trackRadius number

Defines the border radius for back rect.