Next
Update
Prev
Default

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

...
<Column2DChart showDataTips="true">
'''
  <series>
    <Column2DSet type="stacked" showTotalLabel="true">	
      <series>
        <Column2DSeries labelPosition="inside" yField="iPhone" displayName="iPhone" showValueLabels="[6]" color="#ffffff">
        ...
        </Column2DSeries>
    
        <Column2DSeries labelPosition="inside" yField="iPad" displayName="iPad" showValueLabels="[6]" color="#ffffff">
        ...
        </Column2DSeries>
    
        <Column2DSeries labelPosition="inside" yField="Mac" displayName="iPhone" showValueLabels="[6]" color="#ffffff" itemRenderer="SemiCircleColumnItemRenderer">
        ...
        </Column2DSeries>
      </series>
    </Column2DSet>
  </series>
</Column2DChart>
...
type The type attribute determines the representation type of multiple series column chart. The valid values are "clustered", "overlaid", "stacked" and "100%". The default value is "clustered".
showTotalLabel The showTotalLabel attribute determines whether or not to display the sum of the stacked values when type="stacked". The default value is "false".

© 2017 KoolChart. All rights reserved.