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

This sample visualizes the data about UK trade in food groups of the year 2015 with default bar series in the chart. Data points values are shown by using data label.

Source: www.gov.uk

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 the 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.