Change datapoint size of LineSeriesDefination

4 posts, 0 answers
  1. sunita
    sunita avatar
    9 posts
    Member since:
    Feb 2011

    Posted 12 Mar 2011 Link to this post


    i am using LineSeriesDefination how can i change the size of point if it need to be smaller. can we decrease the size of the circles.
    please help in this regards.


  2. Sia
    Sia avatar
    667 posts

    Posted 16 Mar 2011 Link to this post

    Hi sunita,

    Use the following style:
    <Style x:Key="CustomPointMark"   TargetType="telerikCharting:PointMark">
        <Setter Property="Size" Value="5" />

    and apply it to the LineSeriesDefinition PointMarkItemStyle.

    I hope this helps.
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
  3. DevCraft R3 2016 release webinar banner
  4. scott
    scott avatar
    67 posts
    Member since:
    Jul 2010

    Posted 06 Dec 2012 Link to this post

    As a follow-on to Sunita's question.  How do I do this dynamically and under program control?  Can I do something like this:

    string xaml = "<style ... "
    Style s = xamlreader.load(...)
    lineDefinition.Style = s

    If the answer is yes - got an example?

    Thanks -
  5. Evgenia
    Evgenia avatar
    1396 posts

    Posted 11 Dec 2012 Link to this post

    Hi scott,

    The chart control does not expose specialized API for this functionality but you can use the attached MVVM approach if you need to update the pointmarks dynamically.

    All the best,
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Back to Top