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

This sample shows the plotting of local data in a stock price analysis of two products over a period of time.

DEMO
SOURCE

The Charts control supports data binding. The DataSource property can be assigned either as list of objects or with instance of DataManager.

In this demo, the list of objects is assigned as the data source to the Charts control. The chart can be bound to IEnumerable, IQueryable, and ObservableCollection data sources.

More information about the local data binding can be found in this documentation section.