Packagecom.amcharts.stock
Classpublic class StockEvent
InheritanceStockEvent Inheritance flash.events.EventDispatcher

Stock event class.



Public Properties
 PropertyDefined by
  backgroundAlpha : Number
Bullet background opacity.
StockEvent
  backgroundColor : Number
Bullet background color.
StockEvent
  borderAlpha : Number
Bullet border opacity.
StockEvent
  borderColor : Number
Bullet border color.
StockEvent
  date : Date
Date of the event.
StockEvent
  description : String
Description which will be displayed when user rolls-over the event.
StockEvent
  graph : AmGraph
Graph to which the event will be attached.
StockEvent
  panel : StockPanel
Panel of the event.
StockEvent
  polygonY : Array
In case your bullet type is "polygon", you have to pass array of x and y coordinates which will be used when drawing the polygon.
StockEvent
  polygonX : Array
In case your bullet type is "polygon", you have to pass array of x and y coordinates which will be used when drawing the polygon.
StockEvent
  rollOverColor : Number
Roll-over color.
StockEvent
  showOnAxis : Boolean
If true, the event will be displayed on axis, not on a graph.
StockEvent
  size : Number
Size of a bullet with no letter, such as arrowUp and arrowDown.
StockEvent
  text : String
Text (letter) which will be displayed in the bullet.
StockEvent
  type : String
Type of the bullet.
StockEvent
  url : String
Url to ehich user should get if clicks on the bullet.
StockEvent
  urlTarget : String
Target of an url.
StockEvent
Public Methods
 MethodDefined by
  
Constructor.
StockEvent
Property detail
backgroundAlphaproperty
backgroundAlpha:Number  [read-write]

Bullet background opacity.

Implementation
    public function get backgroundAlpha():Number
    public function set backgroundAlpha(value:Number):void
backgroundColorproperty 
backgroundColor:Number  [read-write]

Bullet background color.

Implementation
    public function get backgroundColor():Number
    public function set backgroundColor(value:Number):void
borderAlphaproperty 
borderAlpha:Number  [read-write]

Bullet border opacity.

Implementation
    public function get borderAlpha():Number
    public function set borderAlpha(value:Number):void
borderColorproperty 
borderColor:Number  [read-write]

Bullet border color.

Implementation
    public function get borderColor():Number
    public function set borderColor(value:Number):void
dateproperty 
date:Date  [read-write]

Date of the event.

Implementation
    public function get date():Date
    public function set date(value:Date):void
descriptionproperty 
description:String  [read-write]

Description which will be displayed when user rolls-over the event.

Implementation
    public function get description():String
    public function set description(value:String):void
graphproperty 
graph:AmGraph  [read-write]

Graph to which the event will be attached.

Implementation
    public function get graph():AmGraph
    public function set graph(value:AmGraph):void
panelproperty 
panel:StockPanel  [read-write]

Panel of the event. If you set graph of the event, you don't need to set panel.

Implementation
    public function get panel():StockPanel
    public function set panel(value:StockPanel):void
polygonYproperty 
polygonY:Array  [read-write]

In case your bullet type is "polygon", you have to pass array of x and y coordinates which will be used when drawing the polygon.

Implementation
    public function get polygonY():Array
    public function set polygonY(value:Array):void
polygonXproperty 
polygonX:Array  [read-write]

In case your bullet type is "polygon", you have to pass array of x and y coordinates which will be used when drawing the polygon.

Implementation
    public function get polygonX():Array
    public function set polygonX(value:Array):void
rollOverColorproperty 
rollOverColor:Number  [read-write]

Roll-over color.

Implementation
    public function get rollOverColor():Number
    public function set rollOverColor(value:Number):void
showOnAxisproperty 
showOnAxis:Boolean  [read-write]

If true, the event will be displayed on axis, not on a graph.

The default value is false.

Implementation
    public function get showOnAxis():Boolean
    public function set showOnAxis(value:Boolean):void
sizeproperty 
size:Number  [read-write]

Size of a bullet with no letter, such as arrowUp and arrowDown. Size of bullets with letters are defined acoarding to the size of font.

Implementation
    public function get size():Number
    public function set size(value:Number):void
textproperty 
text:String  [read-write]

Text (letter) which will be displayed in the bullet.

Implementation
    public function get text():String
    public function set text(value:String):void
typeproperty 
type:String  [read-write]

Type of the bullet. Possible types are: flag, sign, pin, triangleUp, triangleDown, triangleLeft, triangleRight.

The default value is sign.

Implementation
    public function get type():String
    public function set type(value:String):void
urlproperty 
url:String  [read-write]

Url to ehich user should get if clicks on the bullet.

Implementation
    public function get url():String
    public function set url(value:String):void
urlTargetproperty 
urlTarget:String  [read-write]

Target of an url.

The default value is _self.

Implementation
    public function get urlTarget():String
    public function set urlTarget(value:String):void
Constructor detail
StockEvent()constructor
public function StockEvent()

Constructor.