Is there a way, to bind the series of a OxyPlot in XAML, if I don't know, how many series I will have?
I know, that I can create a PlotModel, maybe I can bind a Collection of Series. But what I am realy looking for is, if I can bind the series to List of doubles.
Possible ItemSources examples:
ObservableCollection<Tupel<double, List<double>>> ItemSource1 { get; set; }
ObservableCollection<Tupel<double, double>> ItemSource2 { get; set; }
Possible Xaml Code:
<oxy:Plot>
<oxy:LineSeries ItemSource="{Binding ItemSource}" />
</oxy:Plot>
I dind't find such a use case in the examples. Does someone have maybe a tipp for me?