Stacked Column Graph

Posted by: abhatt on 10 February 2020, 3:30 pm EST

    • Post Options:
    • Link

    Posted 10 February 2020, 3:30 pm EST - Updated 3 October 2022, 5:39 pm EST

    Does wijmo supports stacked column graph?

  • 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

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels