new Zoom
Parameters:
Name | Type | Description |
---|---|---|
chart |
Tee.Chart | The parent chart this zoom object belongs to. |
- Source:
- ../../src/teechart.js, line 1937
Properties:
Name | Type | 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="both"] |
String | Allows chart zoom in horizontal, vertical or both directions. |
Members
-
keepAspect
-
When true, zoom rectangle maintains same width to height proportion of Chart.
- Source:
- ../../src/teechart.js, line 1957