Posted 10 February 2020, 3:30 pm EST - Updated 3 October 2022, 5:39 pm EST
Stacked Column Graph
Posted by: abhatt on 10 February 2020, 3:30 pm EST
-
-
Posted 10 February 2020, 11:24 pm EST
Hi Aishwariya,
FlexChart has a stacking property that can be used to stack like this. Just set the value of this property to wijmo.chart.Stacking.Stacked:
flexChart.stacking = wijmo.chart.Stacking.Stacked;
Refer to the demo below:
https://www.grapecity.com/wijmo/demos/Chart/Bar/StackedBar/purejs
In this demos, if you will change the chartType to Column, the chart will become like the image:
let barchart = new chart.FlexChart('#chart', { header: 'Country GDP', chartType: chart.ChartType.Column, ... });
Regards,
Ashwin