Example of Stacked Column in Javascript Chart Control

Stacked Column

This sample visualizes mobile game market for different countries with default stacked column series in chart. Legend in the sample shows the information about those series.

More Details...


In this example, you can see how to render and configure the stacking column type charts. Stacks the points in the series vertically and also you can use stackingGroup property to group the stacking collection based on categories. You can use border, fill properties to customize the vertical bar. dataLabel is used to represent individual data and its value. Tooltip is enabled in this example, to see the tooltip in action, hover a point or tap on a point in touch enabled devices. Injecting Module Chart component features are segregated into individual feature-wise modules. To use stacking column series, we need to inject StackingColumnSeries module using Chart.Inject(StackingColumnSeries) method. More information on the stacking column series can be found in this documentation section.