• Material 3
  • Material 3 Dark
  • Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Theme Selection
Mode Selection
*Translated by Google Translator.

Example of Stacked Bar in ASP.NET MVC Chart Control

This ASP.NET MVC Stacked Bar Chart example visualizes a comparison of several months’ sales with the default stacked bar series. The legend in the sample shows more information about the series.


In this example, you can see how to render and configure the stacked bar chart. The stacked bar chart stacks points in the series horizontally. You can also use the StackingGroup property to group stacked collections based on category.

Tooltip is enabled in this example. To see the tooltip in action, hover over a point or tap on a point in touch-enabled devices.

More information about the stacked bar series can be found in this documentation section.