React Chart - scrollBar
Specifies the settings of the scroll bar.
The scroll bar allows a user to pan the chart. To use it, you need to enable zooming and panning in your chart.
By default, the scroll bar is hidden. To make it visible, set the visible field of the scrollBar object to true. Using other fields of this object you can adjust the scroll bar appearance settings, including color, width and opacity.
color
Specifies the color of the scroll bar.
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
offset
Specifies the spacing between the scroll bar and the chart's plot in pixels.
position
Specifies the position of the scroll bar in the chart.
Depending on whether the chart is rotated or not, this property accepts different values. In a non-rotated chart, you can assign either 'top' or 'bottom' to this property. In a rotated chart, this property accepts either 'left' or 'right'.
visible
Specifies whether the scroll bar is visible or not.
If you have technical questions, please create a support ticket in the DevExpress Support Center.