+ Reply to Thread
Results 1 to 7 of 7

How to get graph data using Chart Events?

  1. #1
    Registered User
    Join Date
    01-22-2009
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    30

    How to get graph data using Chart Events?

    I have a Volume vs. Area plot. Here is the format of the worksheet

    length | width | depth | Area | Volume

    I would like to use chart events (Mouse Up event) to get me information about not only area and volume but also l, w, and d.

    I know that following code give me info about x and y (i.e. area and volume.) But how to modify this code, so that I also get
    "L= , W= , D= , A= , V= ."

    Thanks in advance.
    Please Login or Register  to view this content.
    Attached Files Attached Files
    Last edited by cricrazy; 01-23-2009 at 08:37 PM.

  2. #2
    Forum Expert
    Join Date
    01-03-2006
    Location
    Waikato, New Zealand
    MS-Off Ver
    2010 @ work & 2007 @ home
    Posts
    2,243
    hi,

    People often find it easier to help if they have a starting point to work from. Can you please attach a small example file (using the paperclip icon or the "manage attachments" button) showing your layout etc?

    Rob
    Rob Brockett
    Kiwi in the UK
    Always learning & the best way to learn is to experience...

  3. #3
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,436
    You would need to use the Arg1 and Arg2 values locate a cell within a known range.
    Cheers
    Andy
    www.andypope.info

  4. #4
    Registered User
    Join Date
    01-22-2009
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    30
    Quote Originally Posted by broro183 View Post
    hi,

    People often find it easier to help if they have a starting point to work from. Can you please attach a small example file (using the paperclip icon or the "manage attachments" button) showing your layout etc?

    Rob
    I have attached a sample file to start with.

  5. #5
    Registered User
    Join Date
    01-22-2009
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    30
    Quote Originally Posted by Andy Pope View Post
    You would need to use the Arg1 and Arg2 values locate a cell within a known range.
    How do I play around Arg1 and Arg2? Please check the attached file. I already have chart event which tells me x and y value of the data point.

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

    It assumes you know where the data table is located.

    Please Login or Register  to view this content.
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    01-22-2009
    Location
    usa
    MS-Off Ver
    Excel 2003
    Posts
    30
    Quote Originally Posted by Andy Pope View Post
    See attached.

    It assumes you know where the data table is located.

    Please Login or Register  to view this content.
    Thank You So Much.....It worked...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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