Packagecom.anychartstock.events
Classpublic class StockChartMouseEvent
InheritanceStockChartMouseEvent Inheritance flash.events.MouseEvent

A StockChartMouseEvent object is dispatched into the event flow whenever mouse events occur in a chart.



Public Properties
 PropertyDefined by
  chartId : String
[read-only] Chart id.
StockChartMouseEvent
  date : Date
[read-only] Date.
StockChartMouseEvent
Public Methods
 MethodDefined by
  
StockChartMouseEvent(type:String, chartId:String, localX:Number, localY:Number, relatedObject:InteractiveObject, date:Date = null)
Constructor.
StockChartMouseEvent
Public Constants
 ConstantDefined by
  MOUSE_DOWN : String = "chartMouseDown"
[static] The StockChartMouseEvent.MOUSE_DOWN dispatched when mouse button is pressed on chart plotting area.
StockChartMouseEvent
  MOUSE_MOVE : String = "chartMouseMove"
[static] The StockChartMouseEvent.MOUSE_MOVE dispatched when mouse is moving over chart plotting area.
StockChartMouseEvent
  MOUSE_OUT : String = "chartMouseOut"
[static] The StockChartMouseEvent.MOUSE_OUT dispatched when mouse leaves chart plotting area.
StockChartMouseEvent
  MOUSE_OVER : String = "chartMouseOver"
[static] The StockChartMouseEvent.MOUSE_OVER dispatched when chart plotting area is hovered by mouse.
StockChartMouseEvent
  MOUSE_UP : String = "chartMouseUp"
[static] The StockChartMouseEvent.MOUSE_UP dispatched when mouse button is released.
StockChartMouseEvent
Property detail
chartIdproperty
chartId:String  [read-only]

Chart id.

Implementation
    public function get chartId():String
dateproperty 
date:Date  [read-only]

Date.

Implementation
    public function get date():Date
Constructor detail
StockChartMouseEvent()constructor
public function StockChartMouseEvent(type:String, chartId:String, localX:Number, localY:Number, relatedObject:InteractiveObject, date:Date = null)

Constructor.

Parameters
type:String — The event type; indicates the action that caused the event.
 
chartId:String — Chart id.
 
localX:Number — Mouse x coordinate.
 
localY:Number — Mouse y coordinate.
 
relatedObject:InteractiveObject — Related object.
 
date:Date (default = null) — Date.
Constant detail
MOUSE_DOWNconstant
public static const MOUSE_DOWN:String = "chartMouseDown"

The StockChartMouseEvent.MOUSE_DOWN dispatched when mouse button is pressed on chart plotting area.

MOUSE_MOVEconstant 
public static const MOUSE_MOVE:String = "chartMouseMove"

The StockChartMouseEvent.MOUSE_MOVE dispatched when mouse is moving over chart plotting area.

MOUSE_OUTconstant 
public static const MOUSE_OUT:String = "chartMouseOut"

The StockChartMouseEvent.MOUSE_OUT dispatched when mouse leaves chart plotting area.

MOUSE_OVERconstant 
public static const MOUSE_OVER:String = "chartMouseOver"

The StockChartMouseEvent.MOUSE_OVER dispatched when chart plotting area is hovered by mouse.

MOUSE_UPconstant 
public static const MOUSE_UP:String = "chartMouseUp"

The StockChartMouseEvent.MOUSE_UP dispatched when mouse button is released.