Displaying very different data in column chart
Column chart, unlike line chart, doesn’t have two value axes. But, especially after introducing a possibility to have lines in column chart, I keep receiving questions whether this is possible - people want to display data which has very different range and having only one axis makes it impossible. But there is one easy way to workaround this problem with version 1.1.3. Here is an example.
Check Data XML and Settings XML.
As you can see in data XML file, the real values of line chart are not the ones displayed in the chart:
<value xid="0" start="10">10000</value> <value xid="1" start="12">12000</value>
I used attribute "start", which original meaning is to set start value for floating column. Line chart pays no attention to this attribute, however you can make line’s data label to display this attribute, check settings file:
<line> <data_labels> <![CDATA[<b>{start}</b>]]> </data_labels>
That’s the trick. You can use "start" attribute to pass any data you want.
June 14th, 2007 at 6:42 pm
Antanas,
Is it possible to download data from excel spreadsheet into amCharts?
Thx-b