Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Wazooli
 
Posts: n/a
Default A question regarding coordinates of points within a chart

Can anyone explain how x-y coordinates for points within a chart can be
accessed via a mousemove event? I realize this will require quite a bit of
coding, but I would like a little comment box to appear for any given point
on an X-Y scatter I have. The data set consists of around 27000 points, and
I would like the mousemove event to trigger a lookup into a table that
contains a fairly lengthy descripion of each point.

Wazooli
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

Wazooli,

Take a look at Jon Peltier's article on chart events . . .

http://www.computorcompanion.com/LPMArticle.asp?ID=221

then, take a look at this post . . .

http://www.pdbook.com/index.php/excel/comment/635/

Referencing Jon's article, I think you will need to add the xlDataLabel
element to the event as described in the comments at pdbook.com.

Hope this helps.

----------------------------
Regards,
John Mansfield
http://www.pdbook.com


"Wazooli" wrote:

Can anyone explain how x-y coordinates for points within a chart can be
accessed via a mousemove event? I realize this will require quite a bit of
coding, but I would like a little comment box to appear for any given point
on an X-Y scatter I have. The data set consists of around 27000 points, and
I would like the mousemove event to trigger a lookup into a table that
contains a fairly lengthy descripion of each point.

Wazooli

  #3   Report Post  
Wazooli
 
Posts: n/a
Default

John - thanks for the response. The only problem is my chart is embedded in
a worksheet, so I guess I will have to use a class module to setup my event
procedures.

"John Mansfield" wrote:

Wazooli,

Take a look at Jon Peltier's article on chart events . . .

http://www.computorcompanion.com/LPMArticle.asp?ID=221

then, take a look at this post . . .

http://www.pdbook.com/index.php/excel/comment/635/

Referencing Jon's article, I think you will need to add the xlDataLabel
element to the event as described in the comments at pdbook.com.

Hope this helps.

----------------------------
Regards,
John Mansfield
http://www.pdbook.com


"Wazooli" wrote:

Can anyone explain how x-y coordinates for points within a chart can be
accessed via a mousemove event? I realize this will require quite a bit of
coding, but I would like a little comment box to appear for any given point
on an X-Y scatter I have. The data set consists of around 27000 points, and
I would like the mousemove event to trigger a lookup into a table that
contains a fairly lengthy descripion of each point.

Wazooli

  #4   Report Post  
Jon Peltier
 
Posts: n/a
Default

Wazooli -

That exercise is worked out for you in this zipped workbook:

http://peltiertech.com/Excel/Zips/GetXYonAnyChart.zip

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services
Tutorials and Custom Solutions
http://PeltierTech.com/
_______

Wazooli wrote:

John - thanks for the response. The only problem is my chart is embedded in
a worksheet, so I guess I will have to use a class module to setup my event
procedures.

"John Mansfield" wrote:


Wazooli,

Take a look at Jon Peltier's article on chart events . . .

http://www.computorcompanion.com/LPMArticle.asp?ID=221

then, take a look at this post . . .

http://www.pdbook.com/index.php/excel/comment/635/

Referencing Jon's article, I think you will need to add the xlDataLabel
element to the event as described in the comments at pdbook.com.

Hope this helps.

----------------------------
Regards,
John Mansfield
http://www.pdbook.com


"Wazooli" wrote:


Can anyone explain how x-y coordinates for points within a chart can be
accessed via a mousemove event? I realize this will require quite a bit of
coding, but I would like a little comment box to appear for any given point
on an X-Y scatter I have. The data set consists of around 27000 points, and
I would like the mousemove event to trigger a lookup into a table that
contains a fairly lengthy descripion of each point.

Wazooli


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Drawing Between Separated Data Points ? Robert11 Charts and Charting in Excel 2 April 28th 05 11:11 AM
Plot points with same x-value in same series? smKing Charts and Charting in Excel 1 February 3rd 05 07:32 PM
Analyzing X,Y,Z coordinates of a chart jenlo Excel Discussion (Misc queries) 1 January 31st 05 01:05 PM
space between y axis and data points.. Dave R. Charts and Charting in Excel 3 January 8th 05 04:56 AM
Newbie to charts question - projecting values between data points 38N90W Excel Discussion (Misc queries) 3 January 6th 05 05:15 AM


All times are GMT +1. The time now is 02:46 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"