Change lineseries color

Mar 14, 2013 at 5:36 AM
Edited Mar 14, 2013 at 5:45 AM
Hi. How could I change series' color dynamically, using C# code?

Thanks.
Mar 14, 2013 at 5:19 PM
you can do by changing the background of the series.
for example for lineseries
create a SolidColorBrush and assign the same to ((LineSeries)LineCharts.Series[0]).Background
May 21, 2013 at 5:45 AM
((LineSeries) MixedCharts.Series [1]), Background = new SolidBrush (Colors.Yellow;
Paid to the color can not be changed.
What did you wrong?
Nov 4, 2015 at 1:35 PM
(LineChart.Series[0] as LineSeries).Background = new SolidColorBrush(Windows.UI.Color.FromArgb(255, 116, 195, 101));
did the trick for me