Next
Update
Prev
Default

If you want to create a bar stacked chart, create the <Bar2DSet> element tag as a child node of the <series> element tag, and then create the <Bar2DSeries> element tags as child nodes of the <series> element tag that is defined as a child node of the <Bar2DSet> element tag. Be sure that two <series> element tags need to be defined, one is to be defined as a child node of the <Bar2DChart> element tag and the other is to be defined as a child node of the <Bar2DSet> element tag.

...
<Bar2DChart showDataTips="true">
'''
  <series>
    <Bar2DSet type="stacked" showTotalLabel="true">	
      <series>
        <Bar2DSeries labelPosition="inside" showValueLabels="[6]" xField="iPhone" displayName="iPhone" color="#ffffff">
        ...
        </Bar2DSeries>
    
        <Bar2DSeries labelPosition="inside" showValueLabels="[6]" xField="iPad" displayName="iPad" color="#ffffff">
        ...
        </Bar2DSeries>
    
        <Bar2DSeries labelPosition="inside" showValueLabels="[6]" xField="Mac" displayName="iPhone" color="#ffffff" itemRenderer="SemiCircleBarItemRenderer">
        ...
        </Bar2DSeries>
      </series>
    </Bar2DSet>
  </series>
</Bar2DChart>
...

© 2017 KoolChart. All rights reserved.