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

Example of Local Data in ASP.NET Core 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.