Hi Santhiya
Thanks for support, I found such code in your sample:
for (int i = 0; i < viewModel.DataPoint.Count; i++)
{
if (viewModel.DataPoint[i].YData > 0)
chart.Series[0].ColorModel.CustomBrushes.Add(new SolidColorBrush(Colors.Green));
else
chart.Series[0].ColorModel.CustomBrushes.Add(new SolidColorBrush(Colors.Red));
}
Is that the only way to set color dynamically? Is there any easier way? like use Data binding the SolidColorBrush in XAML?