Class Tee.CursorTool
Extends
Tee.Tool.
Draws mouse draggable horizontal and / or vertical lines inside axes
Defined in: <..\..\src\teechart.js>.
Constructor Attributes | Constructor Name and Description |
---|---|
Tee.CursorTool(chart)
|
Field Attributes | Field Name and Description |
---|---|
Determines if the cursor will be displayed as "vertical", "horizontal" or "both".
|
|
Properties to control the cursor lines stroke appearance.
|
|
The size of cursor, {x:0, y:0} means lines will cover full axes bounds.
|
Method Attributes | Method Name and Description |
---|---|
calcRect()
|
|
clicked()
|
|
dodraw(c)
|
|
draw()
|
|
mousedown(p)
|
|
mousemove(p)
|
|
over(p)
|
|
setRender(r)
|
Class Detail
Tee.CursorTool(chart)
- Parameters:
- {Tee.Chart} chart
- The parent chart this cursor tool belongs to.
Field Detail
{String}
direction
Determines if the cursor will be displayed as "vertical", "horizontal" or "both".
{Tee.Format}
format
Properties to control the cursor lines stroke appearance.
{Tee.Point}
size
The size of cursor, {x:0, y:0} means lines will cover full axes bounds.
Method Detail
calcRect()
clicked()
dodraw(c)
- Parameters:
- c
draw()
mousedown(p)
- Parameters:
- p
mousemove(p)
- Parameters:
- p
over(p)
- Parameters:
- p
resetCopy()
setRender(r)
- Parameters:
- r