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.
Inheritance
StockEvent does not extend any other symbol.
StockEvent is not extended by any other symbol.
Properties
backgroundAlpha # |
Type Default Opacity of bullet background. |
---|---|
backgroundColor # |
Type Default Color of bullet background. |
borderAlpha # |
Type Default Opacity of bullet border. |
borderColor # |
Type Default Bullet border color. |
color # |
Type Default The color of the event text. |
date # |
Type Date of an event. Can be a string of date (using chart.dataDateFormat format) or Date object. |
description # |
Type A description that will be shown in a balloon when user rolls over mouse cursor over event icon. |
fontSize # |
Type Specifies font size of a event bullet. Will use graph's or chart font size if not set. |
graph # |
Type graph on which event will be displayed. You can use a reference to the stock graph object or id of the graph. |
rollOverColor # |
Type Default Roll-over background color. |
showAt # |
Type Allows placing event bullets at open/close/low/high values. |
showBullet # |
Type Default If you set it to true, the data point will display both event and regular (if set) bullet. |
showOnAxis # |
Type Default Specifies if the event should be displayed on category axis |
text # |
Type Letter which will be displayed on the event. Not all types can display letters. "text" type can display longer texts. |
type # |
Type Default Type of bullet. Possible values are: "flag", "sign", "pin", "triangleUp", "triangleDown", "triangleLeft", "triangleRight", "text", "arrowUp", "arrowDown". |
url # |
Type A URL to go to when user clicks the event. |
urlTarget # |
Type target of url, "_blank" for example. |
value # |
Type Allows placing event bullets at specified value. |
Methods
StockEvent does not have any methods.
Events
StockEvent does not have any events.
Adapters
StockEvent does not have any adapters.