All Components
Theme

Themes

    Line Charts / 100% Stacked line

    Description

    The Line chart supports 100% stacking, where the last series is always rendered as a flat line on top of the value axis.

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

    For more information inspect the SeriesDefaults option in the documentation.

    ASP.NET MVC source

    Also available for:

    • stacked100_line.cshtml
    • Stacked100_LineController.cs

    Support & learning resources

    Line Charts for other technologies