This is a migrated thread and some comments may be shown as answers.
Area selection
3 Answers 11 Views
This is a migrated thread and some comments may be shown as answers.
Tony
Top achievements
Rank 1
Tony asked on 23 May 2018, 04:57 PM

Hi,

Is there a way to allow the user to draw a rectangle and get all the data points within that rectangle?

Thanks

Tony

3 Answers, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 24 May 2018, 10:27 AM
Hello Tony,

We have a feature request for this and it is already in development. You can track its progress, subscribe to status changes and add your comment to it here.

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Tony
Top achievements
Rank 1
answered on 19 Jun 2018, 05:03 PM

Thanks Dimitar,

 

I have been working on making my own version in the mean time.

Is there anyway to convert physical coordinates to chart coordinates or chart coordinates to physical coordinates?

I have everything working except the coordinates for my rectangle don't match up to the Layoutslot coordinates of the data points.

Tony

0
Dimitar
Telerik team
answered on 20 Jun 2018, 08:21 AM
Hi Tony,

There is a way to do this. You can check the following post which shows it: Draw a chart with a mouse click.

In addition, there is a method that gives you the location of a specific value on the axis:
var axis = radChartView1.Axes[1] as LinearAxis;
var loc = axis.GetLocationOfValue(10);

I want to say that the feature is already completed and it will be released with the new version later today. 

Should you have any other questions do not hesitate to ask.

Regards,
Dimitar
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Asked by
Tony
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Tony
Top achievements
Rank 1
Share this question
or