Class: Scroll

.Chart. Scroll

Controls how to scroll chart axes by mouse or touch drag

new Scroll

Parameters:
Name Type Description
chart Tee.Chart The parent chart this scroll object belongs to.
Properties:
Name Type Description
[enabled=true] Boolean Allows chart scroll by mouse/touch dragging.
[mouseButton=2] Number Defines the mouse button that can be used to scroll (2=Right button, etc).
[direction="both"] String Determines if scroll is allowed in "horizontal", "vertical" or "both" directions.
Source:
  • ../../src/teechart.js, line 2071