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

ShowPointMarks property missing?

1 Answer 52 Views
Chart
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Chris
Top achievements
Rank 1
Chris asked on 15 Mar 2012, 02:54 PM
Hello,

I'm running the Q1 2012 SL5 bits and I'm running into a weird behavior - hoping someone can shed some light.

I'm not able to change the ShowPointsMarks property on my series definition after it has been created (the property isn't even available to select on the object).  This really feels like a bug ?

I can set the property when I first create the series definition this way:
this.ChartSeriesDefinitionSelected = new SplineSeriesDefinition() { ShowItemLabels = false, ShowItemToolTips = false, ShowPointMarks = false };

After that point the ShowPointMarks property is no longer accessible if I look at the properties on this.ChartSeriesDefinitionSelected...

Is this the expected behavior?  Can I not dynamically turn point marks on/off once the series definition has already been created?

Thanks!

Chris

1 Answer, 1 is accepted

Sort by
0
Peshito
Telerik team
answered on 20 Mar 2012, 09:31 AM
Hi Chris,

You can set the visibility of your series' pointmarks later after it has already been created like this:
(seriesMapping.SeriesDefinition as SplineSeriesDefinition).ShowPointMarks = true;

Hope this helps.

Regards,
Peshito
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Chris
Top achievements
Rank 1
Answers by
Peshito
Telerik team
Share this question
or