I have a scenario in which I am using a Column chart and I need to display data for more than one category. For some samples I am displaying data for 1 day, 2 days, but now I want to display data for 5th day-11th day in aggregated manner in the same chart .How can I implement this in column chart? Please suggest.
Above is the screenshot of my current column chart
Discussion posts and replies are publicly visible
You can use appropriate combinations of stacking and series values to render your chart as per your requirements. Here is a sample...
a!columnChartField( label: "Multi-Category Chart", categories: { "Cat-1", "Cat-2", "Cat-3" }, stacking: "NORMAL", series: { a!chartSeries( label: "Bar-1", data: { 10, 20, 30 } ), a!chartSeries( label: "Bar-2", data: { 20, 10, 30 } ), a!chartSeries( label: "Bar-2", data: { 40, 10, 15 } ) } )
a!columnChartField( label: "Multi-Category Chart", categories: { "Cat-1", "Cat-2", "Cat-3" }, stacking: "NONE", series: { a!chartSeries( label: "Bar-1", data: { 10, 20, 30 } ), a!chartSeries( label: "Bar-2", data: { 20, 10, 30 } ), a!chartSeries( label: "Bar-2", data: { 40, 10, 15 } ) } )