If you view the default settings of Line & Area, Column & Bar and Scatter & Bubble charts, you will find <graphs> defined there. However, if you use XML data, you might have all these settings inside the data file. The difference is that instead of XML nodes, these settings must be described as attributes of the <graph> node.
For example, if you have the following in the settings file:
<graph gid="0"> <axis>left</axis> <title>Inflation</title> <color>#00CC00</color> </graph>
The settings would be represented in the data file as:
<graph gid="0" axis="left" title="Inflation" color="#00CC00"> <value xid="0">19.73</value> <value xid="1">18.43</value> <value xid="2">18.08</value> ............................ </graph>
| © Antanas Marcelionis Contact and feedback: info@amcharts.com | Subscribe to amCharts news |