This function will show the graph (if it is hidden). Index is the sequential number of a graph in your settings, counting from 0.
flashMovie.hideGraph(index)
This function will hide the graph (if it is visible). Index is the sequential number of a graph in your settings, counting from 0.
flashMovie.selectGraph(index)
This function will select the graph (the value balloon will become visible). Index is the sequential number of a graph in your settings, counting from 0.
flashMovie.deselectGraph(index)
This function will deselect the graph (the value balloon will become invisible). Index is the sequential number of a graph in your settings, counting from 0.
flashMovie.setZoom(from, to)
This function will change the selected period. "From" and "to" values must match the values of the series in the data file, otherwise an error message will be displayed.
flashMovie.showAll()
This function will show the full chart if some shorter period was previously selected.
This function is called when the selected period is changed, also when the chart is initialized.
amGraphSelect(chart_id, index, title)
This function is called when the viewer selects the graph by clicking on it or on the graph's legend entry. Index is the sequential number of a graph in your settings, counting from 0.
amGraphDeselect(chart_id, index, title)
This function is called when the viewer deselects the graph by clicking on it or on the graph's legend entry. Index is the sequential number of a graph in your settings, counting from 0.
amGraphHide(chart_id, index, title)
This function is called when the viewer hides the graph by clicking on the checkbox in the legend. Index is the sequential number of a graph in your settings, counting from 0.
amGraphShow(chart_id, index, title)
This function is called when the viewer displays the graph by clicking on the checkbox in the legend. Index is the sequential number of a graph in your settings, counting from 0.
amRolledOverSeries(chart_id, series)
This function is called when the viewer moves the mouse over the plot area. It returns the value of the series over which the mouse is currently hovered.
amClickedOnSeries(chart_id, series)
This function is called when the viewer clicks somewhere on the plot area. It returns the value of the series over which the mouse hovered when it was clicked.
amClickedOnBullet(chart_id, graph_index, value, series, url, description)
This function is called when the viewer clicks on a graph bullet. It returns the sequential number of a graph (graph_index), the value of the data point (value), the series value (series), the URL and the description attributes (if they where set in the data file for this data point).
amRolledOverBullet(chart_id, graph_index, value, series, url, description)
This function is called when the viewer rolls over a graph bullet. It returns the sequential number of a graph (graph_index), the value of the data point (value), the series value (series), the URL and the description attributes (if they where set in the data file for this data point).
amProcessCompleted(chart_id, process_name)
This function is called when the chart finishes doing some task triggered by another JavaScript function.
| © Antanas Marcelionis Contact and feedback: info@amcharts.com | Subscribe to amCharts news |