Chart for WinRT > Chart Features > Data Binding > Series Generation |
The chart data series can be generated manually or automatically.
The property C1Chart.AutoGenerateSeries specifies whether the series are created automatically. By default the C1Chart.AutoGenerateSeries property is null and only generates data series if the ChartData.Children collection is empty.
While the series are being generated, chart analyzes the elements of ChartData.ItemsSource (or C1Chart.DataContext) collection and creates a series for each property that has supported types, such as numeric or DateTime.
To control the process of series generation, use the C1Chart.Bindings property that allows you to specify which properties should be plotted.