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

Selecting Bars

1 Answer 14 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Julio Colon
Top achievements
Rank 1
Julio Colon asked on 01 Jul 2010, 05:07 AM
Hi,

I have a radchart with a Canvas overlay.  In the canvas I allow my users to create a rectangle to enclose the bars/data points that he may be interested.  The Canvas is 1:1 size with the radChart.  

Now based on the rectangle coordinates... How do I find which bars the user selected on the bars underneath my layer?  Is there a way I can pass screen/canvas coordinates to the radchart and get back a collection with the items inside the range?

Something like:

selectedCollection =  radChart.getItems(Point p1, Point p2);

J

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 05 Jul 2010, 09:24 AM
Hello Julio Colon,

As I mentioned in the bug report you have started -- for the moment you can only use the ConvertDataUnitsToPhysical method, exposed by both AxisX and AxisY. Our developers will consider the possibilities to extend this functionality. This has been logged in our Public Issue Tracking System.

Best Regards,
Ves
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
Chart
Asked by
Julio Colon
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or