How to Add perpendicular line in telerik:RadCartesianChart

2 posts, 0 answers
  1. Ashok
    Ashok avatar
    3 posts
    Member since:
    Jun 2009

    Posted 08 Apr 2015 Link to this post

    I need to generate these 2 lines on my chart , i have already chart which generating points, but i need to generate these 2 lines one horizontal and one vertical

    they cut each other, i have data which i need to call, 


    but can you suggest me with some example would be great.


    Please share some example.

    Thanks in advance


  2. Peshito
    Peshito avatar
    493 posts

    Posted 13 Apr 2015 Link to this post


    You could either use the built in crosshair behavior or use annotations.

    If you need to move these lines where the cursor of the mouse is, simply use the built-in crosshair behavior. It is demonstrated in this qsf example and in this sdk sample. More information can be found in our online Crosshair  documentation.

    If the lines should not move when the mouse moves, and are data dependent, then you can add two gridline annotations. For more information please check out this qsf example, this sdk sample and online documentation article.


    See What's Next in App Development. Register for TelerikNEXT.

  3. DevCraft banner
Back to Top