This question is locked. New answers and comments are not allowed.
satishbabu
Top achievements
Rank 1
satishbabu
asked on 22 Jul 2011, 09:51 PM
How can we make pointmarks of 2d line chart transparent?
3 Answers, 1 is accepted
0
Rahul
Top achievements
Rank 2
answered on 24 Jul 2011, 06:44 PM
Just One line of code. xD:
radChart1.DefaultSeriesDefinition.Appearance.PointMark.Fill = new SolidColorBrush(Colors.Transparent);0
Hello satishbabu,
As Rahul said you can use the exposed appearance API to change your point marks' stroke or fill:
If you want to hide the point marks entirely, please set the ShowPointMarks property to false:
All the best,
Sia
the Telerik team
As Rahul said you can use the exposed appearance API to change your point marks' stroke or fill:
(seriesMapping.SeriesDefinition as LineSeriesDefinition).Appearance.PointMark.Fill = new SolidColorBrush(Colors.Transparent);(seriesMapping.SeriesDefinition as LineSeriesDefinition).Appearance.PointMark.Stroke = new SolidColorBrush(Colors.Transparent);If you want to hide the point marks entirely, please set the ShowPointMarks property to false:
(seriesMapping.SeriesDefinition as LineSeriesDefinition).ShowPointMarks = false;All the best,
Sia
the Telerik team
Register for the Q2 2011 What's New Webinar Week. Mark your calendar for the week starting July 18th and book your seat for a walk through of all the exciting stuff we will ship with the new release!
0
satishbabu
Top achievements
Rank 1
answered on 26 Jul 2011, 04:10 PM
I got the solution for this issue.
Thank you guys.
it is about setting the 'Fill' property for seriesItemlabelstyle to 'Transparent'
<Setter Property='Fill' Value='Transparent'/>
Thanks,
Satish
Thank you guys.
it is about setting the 'Fill' property for seriesItemlabelstyle to 'Transparent'
<Setter Property='Fill' Value='Transparent'/>
Thanks,
Satish