Value indicator on both axis

3 posts, 1 answers
  1. Jorge
    Jorge avatar
    2 posts
    Member since:
    Feb 2014

    Posted 11 Apr 2014 Link to this post

    Hi there,

    Is there a way to create an indicator, like a small triangle, that points to the actual value of a point in a ChartView? For example, if I have a point in (5, 10), I want to display an indicator in the x axis over the tick that corresponds to the 5 value, and also another indicator over the 10 value in the y axis as well.

    Thanks in advance.

    (I am attaching an image of a chart that I'm trying to replicate in my RadChartView. There you'll see two small blue triangles over the x and y axis, that's what I want to achieve)
  2. Answer
    Martin avatar
    1042 posts

    Posted 15 Apr 2014 Link to this post

    Hi Jorge,

    You can achieve your requirement with a custom implementation. Basically, you can create a Canvas element with your triangles in it and then on mouse move in the chart you can calculate and change their position. You can see this approach in the attached project. 

    Please keep in mind  that both of the axes of the chart in the attached project are linear. If you use a categorical axis there will be differences in the implementation.

    In addition you can take a look at the TrackBall behavior of the Cartesian chart and see if it won't be suitable for your scenario. 


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

  3. DevCraft R3 2016 release webinar banner
  4. Jorge
    Jorge avatar
    2 posts
    Member since:
    Feb 2014

    Posted 15 Apr 2014 in reply to Martin Link to this post

    Thanks very much Martin, your approach is very similar to what I'm lookin for.

    I will work on an implementation of this in my project.

    Have a nice day.
Back to Top