Example of 100% Stacked Bar in Javascript Chart Control

100% Stacked Bar

This sample visualizes percentage of sales comparison for different fruits with default 100% stacked bar series in chart. Legend in the sample shows the information about the series.

More Details...


In this example, you can see how to render and configure the 100% stacking bar type charts. You can use border, fill properties to customize the vertical bar. 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 100% stacking bar series, we need to inject StackingBarSeries module using Chart.Inject(StackingBarSeries) method. More information on the 100% stacking bar series can be found in this documentation section.