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.

One Response to “Displaying very different data in column chart”

  1. Babbini Says:

    Antanas,

    Is it possible to download data from excel spreadsheet into amCharts?

    Thx-b

Leave a Reply

All support questions should be posted to support forums:
AmCharts: http://www.amcharts.com/forum/
AmMap: http://www.ammap.com/forum/


two girls one cup
two girls one cup 2 girls 1 cup video 2 girls 1 cup two girls and a cup 2girls and a cup two girls one cup original video two girls one cup 2 girls 1 cup two girls and a cup 2girls and a cup two girls one cup original video two girls one cup 2 girls 1 cup two girls and a cup all about 2 girls one cup all about 2 gils onw cup all about 2girls one cup all about two girls one cup two girls one cup all about two girls 1 cup