Class Tee.Chart.Scroll
Controls how to scroll chart axes by mouse or touch drag
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.Chart.Scroll(chart)
|
Field Attributes | Field Name and Description |
---|---|
Determines if scroll is allowed in "horizontal", "vertical" or "both" directions.
|
|
Allows chart scroll by mouse/touch dragging.
|
|
Defines the mouse button that can be used to scroll (2=Right button, etc).
|
Class Detail
Tee.Chart.Scroll(chart)
- Parameters:
- {Tee.Chart} chart
- The parent chart this scroll object belongs to.
Field Detail
{String}
direction
Determines if scroll is allowed in "horizontal", "vertical" or "both" directions.
{Boolean}
enabled
Allows chart scroll by mouse/touch dragging.
{Number}
mouseButton
Defines the mouse button that can be used to scroll (2=Right button, etc).