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 stacked wing chart, set the value of the type attribute in the <Bar2DWingChart> element tag to "stacked" and create multiple <Bar2DWingSeries>.

...
<Bar2DWingChart type="stacked" ... >
  ...
  <series>
    <Bar2DWingSeries xField="coffee1" xFieldOpp="coffee2" ... >
      ...
    </Bar2DWingSeries>
    <Bar2DWingSeries xField="donuts1" xFieldOpp="donuts2" ... >
      ...
    </Bar2DWingSeries>
  </series>
  ...
</Bar2DWingChart>
...

<Bar2DWingChart>

type The type attribute determines the representation type of multiple series bar chart. The valid values are "clustered", "overlaid", "stacked" and "100%". The default value is "clustered".

<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.