All Components
Theme

Themes

    Bar Charts / 100% Stacked bars

    Description

    The Bar chart type supports 100% stacking, where the stacked series value are rescaled such that they add up to 100%.

    You can enable the 100% stack feature through the SeriesDefaults -> Bar -> Stack(ChartStackType.Stack100) method.

    For more information inspect the SeriesDefaults option in the documentation.

    ASP.NET MVC source

    Also available for:

    • stacked100_bar.cshtml
    • Stacked100_BarController.cs

    Support & learning resources

    Bar Charts for other technologies