Constructor
new Scroll(chart)
Parameters:
Name | Type | Description |
---|---|---|
chart |
Tee.Chart | The parent chart this scroll object belongs to. |
Properties:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
enabled |
Boolean |
<optional> |
true | Allows chart scroll by mouse/touch dragging. |
mouseButton |
Number |
<optional> |
2 | Defines the mouse button that can be used to scroll (2=Right button, etc). |
direction |
String |
<optional> |
"both" | Determines if scroll is allowed in "horizontal", "vertical" or "both" directions. |
- Source: