• 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 Negative Stack in ASP.NET MVC Chart Control

This sample illustrates stacked bar with negative data points. Data points values are shown by using data label.


In this example, you can see how to render and configure the bar type charts. This is similar to column charts, but the orientation of y axis is horizontal instead of vertical. You can use border and fill properties to customize the data appearance. dataLabel is used to represent individual data and its value.

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

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