This is a migrated thread and some comments may be shown as answers.

Coordinates within RadChart?

1 Answer 79 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Noel Briggs
Top achievements
Rank 1
Noel Briggs asked on 20 Jul 2009, 05:59 PM
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!

1 Answer, 1 is accepted

Sort by
0
Dwight
Telerik team
answered on 23 Jul 2009, 11:15 AM
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.
Tags
Chart
Asked by
Noel Briggs
Top achievements
Rank 1
Answers by
Dwight
Telerik team
Share this question
or