R2 2018 Release is here – now with modern UI for chatbots and more! See what’s new!
Change Theme

SASS Themes

    LESS Themes

      SASS Theme Builder

      Create new or customize SASS themes
      Launch Theme Builder

      Stacked bars


      A Stacked bar is a bar divided into subparts to show cumulative effect, to display money distribution or production against time. You can easily enable the stack feature through the SeriesDefaults -> Bar -> Stack(true) setting:

      .SeriesDefaults(series => series.Bar().Stack(true))

      For more information inspect the SeriesDefaults option in the documentation.

      ASP.NET MVC source

      Also available for:

      • stacked_bar.cshtml
      • Stacked_BarController.cs

      Support & learning resources

      Bar Charts for other technologies