StockEvent
Type class
StockEvent is object which holds information about event (bullet). Values from StockEventsSettings will be used if not set. Stock event bullet's size depends on it's graphs fontSize. When user rolls-over, clicks or rolls-out of the event bullet, AmStockChart dispatches events.
Sources
This information about StockEvent is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.
Inheritance
StockEvent does not extend any other symbol.
StockEvent is not extended by any other symbol.
Properties
backgroundAlphaType
numberDefault1Opacity of bullet background.
backgroundColorType
stringDefault#DADADAColor of bullet background.
borderAlphaType
numberDefault1Opacity of bullet border.
borderColorType
stringDefault#888888Bullet border color.
colorType
stringDefault#000000The color of the event text.
dateType
DateDefaultDate of an event. Must be Date object, not a string.
descriptionType
stringA description that will be shown in a balloon when user rolls over mouse cursor over event icon.
graphType
StockGraphDefaultgraph on which event will be displayed.
rollOverColorType
stringDefault#CC0000Roll-over background color.
showOnAxisType
booleanDefaultfalseSpecifies if the event should be displayed on category axis
textType
stringDefaultLetter which will be displayed on the event. Not all types can display letters. "text" type can display longer texts.
typeType
stringDefaultsignType of bullet. Possible values are: "flag", "sign", "pin", "triangleUp", "triangleDown", "triangleLeft", "triangleRight", "text", "arrowUp", "arrowDown".
urlType
stringDefaultA URL to go to when user clicks the event.
urlTargetType
stringDefaulttarget of url, "_blank" for example.
Methods
StockEvent does not have any methods.
Events
StockEvent does not have any events.