Hi,
I'm creating a ScatterPointSeries at runtime and have had no problem adding it to my ChartView. I want to do this multiple times though so I want to apply a different brush to each.
How can I apply the brush to the ScatterPointSeries points? I've experimented with a datatemplate, but this will only let me style all the scatterpoints to use the same brush.
Thanks,
Rob
I'm creating a ScatterPointSeries at runtime and have had no problem adding it to my ChartView. I want to do this multiple times though so I want to apply a different brush to each.
ScatterPointSeries sps = new ScatterPointSeries();brush = Brushes.Red; // This will be dynamicsps.ItemsSource = source;sps.XValueBinding = new PropertyNameDataPointBinding() { PropertyName = XPath };sps.YValueBinding = new GenericDataPointBinding<T, float>() { ValueSelector = Function };
Chart.Series.Add(sps);How can I apply the brush to the ScatterPointSeries points? I've experimented with a datatemplate, but this will only let me style all the scatterpoints to use the same brush.
Thanks,
Rob
