Hi, we want to create a RadChart with multiple line series. The data source would be a list of lists using ObservableCollection so the data source property would look like this:
Ideally we want each line series to be created automatically from the data source, and the data points to be mapped from the collection for the current series. From this we would then expect to be able to add / remove collections to the data source and have the corresponding series automatically updated on the chart via bindings.
I know you can do this using the CollectionIndex property, but this requires each line series to be mapped manually in XAML or code-behind.
I've defined a DefaultSeriesDefinition for a line series, but this doesn't provide any capability to indicate what the item mappings for each default series would be, or where the series should get its data points from.
Is there a method for generating the series automatically that would be compatible with this data source? Or do I have to generate each series manually in code?
Thanks,
Sam
public ObservableCollection<
ObservableCollection
<DataObject>> { ... }
Ideally we want each line series to be created automatically from the data source, and the data points to be mapped from the collection for the current series. From this we would then expect to be able to add / remove collections to the data source and have the corresponding series automatically updated on the chart via bindings.
I know you can do this using the CollectionIndex property, but this requires each line series to be mapped manually in XAML or code-behind.
I've defined a DefaultSeriesDefinition for a line series, but this doesn't provide any capability to indicate what the item mappings for each default series would be, or where the series should get its data points from.
Is there a method for generating the series automatically that would be compatible with this data source? Or do I have to generate each series manually in code?
Thanks,
Sam