Area selection

4 posts, 0 answers
  1. Tony
    Tony avatar
    2 posts
    Member since:
    Aug 2012

    Posted 23 May 2018 Link to this post

    Hi,

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

    Thanks

    Tony

  2. Dimitar
    Admin
    Dimitar avatar
    2820 posts

    Posted 24 May 2018 Link to this post

    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.
  3. Tony
    Tony avatar
    2 posts
    Member since:
    Aug 2012

    Posted 19 Jun 2018 in reply to Dimitar Link to this post

    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

  4. Dimitar
    Admin
    Dimitar avatar
    2820 posts

    Posted 20 Jun 2018 Link to this post

    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.
Back to Top