Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting X Coordinate (Abscissa) on an MSGraph Object

Status
Not open for further replies.

gharabed

Programmer
Sep 7, 2001
251
0
0
US
I've got an MS Graph object on a form that has plotted data graphed on it. Is there any way to click on the graph and the x-coordinate (abscissa value) relative to the graph where the user clicked? For example, lets say the X values on the graph are: 5,6,7,8,9,10. The user clicks somewhere on the graph over the 7 value on the X axis. Is there some way for me to programtically get the value of "7" back when the user clicks on the graph?

Greg
 
You will -OF COURSE- need to do the scaling and limit checking, but ...

OnClick ...

???

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Can you give me some more details. I understand I can trap the onClick event but how would I get the values on the graph?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top