Next
Update
Prev
Default

A wing chart ( or tornado chart ) is a special type of bar chart ( or column chart ), where two bars ( or columns ) are spread over both sides of the axis. The wing chart is useful to compare two categories of data and to provide decision makers with a quick overview.

The <Bar2DWingChart> element tag is used to create a bar-type wing chart in KoolChart, and the series element tag for the bar-type wing chart is <Bar2DWingSeries>.

If you want to create a bar-type wing chart with multiple series data, create as many <Bar2DWingSeries> element tags as you want as a child node of the <series> element tag which is a child node of the <Bar2DWingChart> element tag.

...
<Bar2DWingChart ... >
  ...
  <series>
    <Bar2DWingSeries xField="leisure1" xFieldOpp="leisure2" ... >
      ...
    </Bar2DWingSeries>
    <Bar2DWingSeries xField="self1" xFieldOpp="self2" ... >
      ...
    </Bar2DWingSeries>
  </series>
  ...
</Bar2DWingChart>
...

<Bar2DWingSeries>

xField The xField attribute determines the field name of the right wing of the horizontal axis ( horizontalAxis ).
xFieldOpp The xFieldOpp attribute determines the field name of the left wing of the horizontal axis ( horizontalAxis ).

© 2017 KoolChart. All rights reserved.