This sample shows the plotting of local data in a stock price analysis of two products over a period of time.
The Charts control supports data binding. The DataSource property can be assigned either as list of objects or with instance of
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.