Amchart 帮助文档(English)
项目 基建 MIS2007 升级
日期
2007-12-28
版本
1.0
作者 何小江
本文内容主要根据其官网资料整理
项目.....................................................................................................................................................1
基建 MIS2007 升级............................................................................................................................1
日期.....................................................................................................................................................1
2007-12-28..........................................................................................................................................1
版本.....................................................................................................................................................1
1.0........................................................................................................................................................1
作者.....................................................................................................................................................1
何小江.................................................................................................................................................1
1. Step by step tutorial.........................................................................................................................3
2. Loading charts into another swf.....................................................................................................6
3. Passing data and settings to charts directly from html file............................................................7
4. Using dynamic data with charts......................................................................................................9
5. Split your settings into several files..............................................................................................11
6. Broadcast messages from data file to chart..................................................................................12
7. All available attributes of <series> (<xaxis>) value of line chart..............................................13
8. All available attributes of <graph> value of line chart data file.................................................15
9. List of JavaScript functions for controlling charts.......................................................................17
9.1 Line & area chart.................................................................................................................17
setData(data)......................................................................................................................17
reloadData().......................................................................................................................17
reloadSettings().................................................................................................................17
reloadAll().........................................................................................................................17
setParam(param, value).....................................................................................................17
getParam(param)...............................................................................................................18
getData()............................................................................................................................18
exportImage(filename)......................................................................................................18
setZoom(from, to).............................................................................................................18
showAll()...........................................................................................................................18
amGetZoom(chart_id, from, to)........................................................................................18
amGraphSelect(chart_id, id, title).....................................................................................18
amGraphDeselect(chart_id, id, title).................................................................................18
9.2 Column & Bar chart + Scatter & Bubble chart...................................................................19