| Package | com.amcharts.events |
| Class | public class CursorEvent |
| Inheritance | CursorEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| data : Object
SerialDataItem object of currently hovered data item.
| CursorEvent | ||
| end : Number
Index of the last series in the selected range.
| CursorEvent | ||
| finalY : Number
final y coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| CursorEvent | ||
| finalX : Number
final x coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| CursorEvent | ||
| index : Number
Index of a series over which chart cursor currently is.
| CursorEvent | ||
| initialY : Number
initial y coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| CursorEvent | ||
| initialX : Number
initial x coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| CursorEvent | ||
| position : Number
Current position of cursor.
| CursorEvent | ||
| selectionHeight : Number
XY Chart only, height of a selection.
| CursorEvent | ||
| selectionY : Number
XY Chart only, y of a selection.
| CursorEvent | ||
| selectionWidth : Number
XY Chart only, width of a selection.
| CursorEvent | ||
| selectionX : Number
XY Chart only, x of a selection.
| CursorEvent | ||
| start : Number
Index of the first series in the selected range.
| CursorEvent | ||
| zooming : Boolean
Zooming is set with CHANGED event, when user is selecting some area to zoom-in or highlight.
| CursorEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
CursorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| CursorEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| CHANGED : String = "changed" [static]
| CursorEvent | ||
| DRAW : String = "onDraw" [static]
| CursorEvent | ||
| ON_HIDE_CURSOR : String = "onHideCursor" [static]
| CursorEvent | ||
| SELECTED : String = "selected" [static]
| CursorEvent | ||
| ZOOMED : String = "zoomed" [static]
| CursorEvent | ||
| data | property |
public var data:ObjectSerialDataItem object of currently hovered data item.
| end | property |
public var end:NumberIndex of the last series in the selected range.
| finalY | property |
public var finalY:Numberfinal y coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| finalX | property |
public var finalX:Numberfinal x coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| index | property |
public var index:NumberIndex of a series over which chart cursor currently is.
| initialY | property |
public var initialY:Numberinitial y coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| initialX | property |
public var initialX:Numberinitial x coordinate if draw is set to true for ChartCursor, and user drawn a line on a chart.
| position | property |
public var position:NumberCurrent position of cursor.
| selectionHeight | property |
public var selectionHeight:NumberXY Chart only, height of a selection.
| selectionY | property |
public var selectionY:NumberXY Chart only, y of a selection.
| selectionWidth | property |
public var selectionWidth:NumberXY Chart only, width of a selection.
| selectionX | property |
public var selectionX:NumberXY Chart only, x of a selection.
| start | property |
public var start:NumberIndex of the first series in the selected range.
| zooming | property |
public var zooming:BooleanZooming is set with CHANGED event, when user is selecting some area to zoom-in or highlight.
| CursorEvent | () | constructor |
public function CursorEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Constructor
Parameterstype:String |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
| CHANGED | constant |
public static const CHANGED:String = "changed"
| DRAW | constant |
public static const DRAW:String = "onDraw"
| ON_HIDE_CURSOR | constant |
public static const ON_HIDE_CURSOR:String = "onHideCursor"
| SELECTED | constant |
public static const SELECTED:String = "selected"
| ZOOMED | constant |
public static const ZOOMED:String = "zoomed"