Coordinates within RadChart?

2 posts, 0 answers
  1. Noel Briggs
    Noel Briggs avatar
    2 posts
    Member since:
    Jul 2009

    Posted 20 Jul 2009 Link to this post

    Hello,

    I need to be able to find exact locations within my RadChart. I have many needs that center around this ability. As an example, I need to place a "cross-hair" 1/2 way through my X axis, and half way through the Y axis. The result will be four equal quadrants separated by the lines made by the cross hair.

    I'd also like to be able to know exactly where some of the datapoints will appear.

    Here are the questions, that if I have answers for, may help me out:

    1) How do I get the height and width of a RadChart during runtime?
    2) Is there a method for finding out where datapoints are located (their pixel location?) ?

    Thanks!
  2. Dwight
    Admin
    Dwight avatar
    475 posts

    Posted 23 Jul 2009 Link to this post

    Hi Noel,

    In order to find the size of the RadChart, you can use the ActualWidth and ActualHeight properties. That will give you the total size of the control.

    As to the other requirements, currently the RadChart control does not expose suitable for that purpose. Providing API is in our plans, but it is still not scheduled.

    Regards,
    Evtim
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
Back to Top