ShowPointMarks property missing?

2 posts, 0 answers
  1. Chris
    Chris avatar
    16 posts
    Member since:
    Apr 2008

    Posted 15 Mar 2012 Link to this post

    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

  2. Peshito
    Admin
    Peshito avatar
    497 posts

    Posted 20 Mar 2012 Link to this post

    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 >>
  3. DevCraft banner
Back to Top