AmStockChart is a main class Stock chart.
Specifies if animation was already played. Animation is only played once, when chart is rendered for the first time. If you want the animation to be repeated, set this property to false.
Balloon object.
Settings for category axes.
Indicates if the chart is created.
Chart cursor settings.
Chart scrollbar settings.
Array of colors used by data sets if no color was set explicitly on data set itself. #FF6600, "#FCD202", "#B0DE09", "#0D8ECF", "#2A0CD0", "#CD0D74", "#CC0000", "#00CC00", "#0000CC", "#DDDDDD", "#999999", "#333333", "#990000"
Array of data sets selected for comparing.
DataSetSelector object. You can add it if you have more than one data set and want users to be able to select/compare them.
Array of DataSets.
Current end date of the selected period, get only. To set start/end dates, use stockChart.zoom(startDate, endDate) method.
Defines on which day week starts. 0 - Sunday, 1 - Monday..
If set to true the scope of the data view will be set to the end after data update.
Legend settings.
Data set selected as main.
Array of StockPanels (charts).
Settings for stock panels.
Period selector object. You can add it if you want user's to be able to enter date ranges or zoom chart with predefined period buttons.
Scrollbar's chart object, get only.
Current start date of the selected period, get only. To set start/end dates, use stockChart.zoom(startDate, endDate) method.
Settings for stock events.
Settings for value axes.
read-only. Indicates current version of a script.
Specifies whether the chart should zoom-out when main data set is changed.
Adds event listener of the type "dataUpdated" or "init" or "rendered" to the object.
Always "dataUpdated" or "init" or "rendered".
If the type is "dataUpdated", dispatched when the chart was updated with new data. If the type is "init", dispatched when the chart is initialized for the first time. In case you want it to fire again after validateNow() method is called, set chart.chartCreated = false. If the type is "rendered", dispatched each when chart is rendered.
any
Adds event listener of the type "rollOutStockEvent" or "rollOverStockEvent" or "clickStockEvent" to the object.
// Either "rollOutStockEvent" or "rollOverStockEvent" or "clickStockEvent".
If the type is "rollOutStockEvent", dispatched when the user rolls-out of the Stock event (bullet). If the type is "rollOverStockEvent", dispatched when the user rolls-over of the Stock event (bullet). If the type is "clickStockEvent", dispatched when the user clicks on the Stock event (bullet).
any
Adds event listener of the type "zoomed" to the object.
Always "zoomed".
Dispatched when the chart is zoomed (even for the first time, when chart is initialized).
any
Adds event listener of the type "panelRemoved" to the object.
Always "panelRemoved".
Dispatched when the StockPanel is removed.
any
Adds panel to the stock chart. Requires stockChart.validateNow() method to be called after this action.
any
Adds panel to the stock chart at a specified index. Requires stockChart.validateNow() method to be called after this action.
any
Destroys chart, all timeouts and listeners.
any
Hides event bullets.
any
Removes event listener from the object.
any
Removes event listener from chart object.
any
Removes panel from the stock chart. Requires stockChart.validateNow() method to be called after this action.
any
Shows event bullets.
any
Method which should be called after data was changed.
any
Method which forces the stock chart to rebuild. Should be called after properties are changed.
any
Zooms chart to specified dates. startDate, endDate - Date objects.
any
Zooms out the chart.
any