This is a migrated thread and some comments may be shown as answers.

Multi line Radchart with different pointmark fill colors

1 Answer 80 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Prakash
Top achievements
Rank 1
Prakash asked on 07 Dec 2013, 08:44 AM
Hi in my wpf application i want to plot two line chart..

and my requirement is i want to show each point in line pointmarker in different color.

i achived this for single line chart, when i try for two lines, both taking the same point mark fill color..

how to resolve this problem.. i am using item series mapping... 

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 11 Dec 2013, 01:38 PM
Hello Prakash,

You can change the color of your series pointmarks like this for example:
firstSeriesMapping.SeriesDefinition = new LineSeriesDefinition() { ShowPointMarks = true};
firstSeriesMapping.SeriesDefinition.Appearance.PointMark.Fill = new SolidColorBrush(Colors.Blue);
firstSeriesMapping.ItemMappings.Add(new ItemMapping("Title", DataPointMember.XCategory));
firstSeriesMapping.ItemMappings.Add(new ItemMapping("Value", DataPointMember.YValue));

and apply the same approach respectively for your other series.

More information on how to style the pointmarks can be found here:
http://www.telerik.com/help/silverlight/radchart-styling-and-appearance-styling-point-marks.html

Hope this helps.

Regards,
Peshito
Telerik
TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
Sign up for Free application insights >>
Tags
Chart
Asked by
Prakash
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or