There are several ways to achieve your requirement. You could change the color of the series by using any of our Palettes
. Here is an example how you could set a palette in code:
.Chart.Palette = ChartPalettes.Windows8;
Another option would be to create a custom palette
where you could define your colors. Here is an example in code:
var customPalette =
var entryCollection =
Chart.Palette = customPalette;
You could also set the DefaultVisualStyle
property of the series:
ScatterPointSeries sps =
Brush brush = Brushes.Red;
Style style =
sps.DefaultVisualStyle = style;
Also please note that it is better to create the style in XAML instead of in code behind.
I attached a sample project with the last mentioned approach.
Check out the new Telerik Platform - the only modular platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native apps. Register for the free online keynote and webinar to learn more about the Platform on Wednesday, February 12, 2014 at 11:00 a.m. ET (8:00 a.m. PT).