+ Reply to Thread
Results 1 to 2 of 2

Select Points on X,Y Series Chart for regression

Hybrid View

CEO76 Select Points on X,Y Series... 11-24-2010, 02:05 AM
Andy Pope Re: Select Points on X,Y... 11-24-2010, 06:47 AM
  1. #1
    Registered User
    Join Date
    04-21-2007
    Location
    Where your mind is
    MS-Off Ver
    OS 2010, 2013, 365.
    Posts
    42

    Select Points on X,Y Series Chart for regression

    Hi Forumers,

    I have a X,Y chart that which appears to have 3 interval with different slopes, they are representing for P10, P50 and P90. What I want to do is to code in VBA such that I can interact with the chart and select points that I want to perform regression. May be a retangular shape places over those points plotted on a chart and by clicking a mouse then the points underneath that rectangular will be selected.

    Can someone give me some hints or approach to this problem

    Thanks

    CEO76

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,481

    Re: Select Points on X,Y Series Chart for regression

    You will need to code against the chart events in order to determine where in the chart you are selecting points from. This is not easy as you have to translate mouse xy position to xy data values.

    It my be easier to locate points in your data sets by defining bounding area via cells. You can then construct a new data series based on relevant points.
    Cheers
    Andy
    www.andypope.info

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1