ScrollBar
ScrollBar is a plugin for pan and pinch interaction, it will show the current data range.
How to Register ScrollBar Plugin
After register the ScrollBar, the method `chart.scrollBar()` can be called.
Configuration
Name | Type | Default | Description |
| String | 'x' | The direction of the scroll bar, optional value includes 'x', 'y', 'xy'. |
| Object |
| The style for scroll bar in x direction:
|
| Obect | see below | The style for scroll bar in y direction:
|
xStyle
default value:
yStyle
default value:
Example:
Last updated