Constructor
new Zoom(chart)
Parameters:
Name |
Type |
Description |
chart |
Tee.Chart
|
The parent chart this zoom object belongs to. |
Properties:
Name |
Type |
Attributes |
Default |
Description |
enabled |
Boolean
|
|
|
Allows chart zoom by mouse/touch dragging. |
mouseButton |
Number
|
|
|
Defines the mouse button that can be used to zoom (0=Left button, etc). |
format |
Tee.Format
|
|
|
Properties to control the appearance of rectangle that appears while dragging. |
direction |
String
|
<optional>
|
"both"
|
Allows chart zoom in horizontal, vertical or both directions. |
- Source:
Members
keepAspect
When true, zoom rectangle maintains same width to height proportion of Chart.
- Source: