RadScatterSparkline, how to programatically change the size of the points

2 posts, 0 answers
  1. Javier
    Javier avatar
    2 posts
    Member since:
    Jul 2010

    Posted 29 Apr 2016 Link to this post


    I'm using a RadScatterSparkline object inside a RadTimeBar. It works perfectly but I would like to make the points bigger because some times they are difficult to see (I'm using the RadScatterSparkline in combination with a RadLinearSparline).

    Since I'm adding the RadScatterSparkline dynamically I would like to change the size of the points programmatically.

    I've tried setting the Height and Width properties but it did not work.

    Do you know if this is possible at all? If so, any idea on how to do it?


    Many thanks!



  2. Peshito
    Peshito avatar
    532 posts

    Posted 03 May 2016 Link to this post


    In order to meet this requirement you could re-template the default ScatterItem as shown below for instance:
    <Style TargetType="telerik:ScatterItem">
           <Setter Property="Template">
                   <ControlTemplate TargetType="telerik:ScatterItem">
                       <Ellipse Width="10" Height="10" Fill="Blue" />
    Hope this helps.

    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top