• Fluent
  • Fluent Dark
  • Bootstrap v5
  • Bootstrap v5 Dark
  • Tailwind CSS
  • Tailwind CSS Dark
  • Material
  • Bootstrap v4
  • High Contrast
Preferences
Theme Selection
Mode Selection
Touch
Mouse
Localization
*Translated by Google Translator.
Currency

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.

DEMO
SOURCE
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.