Class Index | File Index

Classes


Class Tee.Chart.Zoom

Controls how to zoom chart axes by mouse or touch drag
Defined in: <..\..\src\teechart.js>.

Class Summary
Constructor Attributes Constructor Name and Description
 
Field Summary
Field Attributes Field Name and Description
 
Allows chart zoom in horizontal, vertical or both directions.
 
Allows chart zoom by mouse/touch dragging.
 
Properties to control the appearance of rectangle that appears while dragging.
 
When true, zoom rectangle maintains same width to height proportion of Chart.
 
Defines the mouse button that can be used to zoom (0=Left button, etc).
Method Summary
Method Attributes Method Name and Description
 
 
change(pos)
<inner>  
check(z)
 
draw()
 
Class Detail
Tee.Chart.Zoom(chart)
Parameters:
{Tee.Chart} chart
The parent chart this zoom object belongs to.
Field Detail
{String} direction
Allows chart zoom in horizontal, vertical or both directions.
Default Value:
"both"

{Boolean} enabled
Allows chart zoom by mouse/touch dragging.

{Tee.Format} format
Properties to control the appearance of rectangle that appears while dragging.

keepAspect
When true, zoom rectangle maintains same width to height proportion of Chart.

{Number} mouseButton
Defines the mouse button that can be used to zoom (0=Left button, etc).
Method Detail
apply()

change(pos)
Parameters:
pos

<inner> check(z)
Parameters:
z

draw()

reset()

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jul 04 2014 13:24:58 GMT+0200 (CEST)