Hi, is it possible to bind to a DataSeriesCollection, something along these lines:
ViewModel:
with the dataseries being created like this:
The scenario I am trying to support is manually creating the series based on a stringvalue being dropped onto the chart, as well as being able to drag serioes between different charts, combined with the ability to dynaimcally select the type of series to be displayed on each chart. I cant do it in codebehind because the charts are instantiated via a datatemplate as part of an itemscontrol.
I tried:
and
but both throws exceptions.
<
Charting:ChartArea
ItemsSource
=
"{Binding ChartDataSeries}"
>
<
Charting:ChartArea
ItemsSource
=
"{Binding ChartDataSeries}"
>