LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Excel Graph Click Problem

I have created a chart / sheet combination that allows a user to zoom
in and out on any set of data. This is useful, as normally, at least
10,000 data points are present and at least 3 series. The user can
presently input direct values for the min/max x and min/max y values
desired, and the chart zooms to that size.

This is, however, not the most convenient way to use this. I would be
infinitely nicer if the user could just click on two places within the
plotArea (not selecting points, just clicking in the plotArea) to
define those min/max boundaries, then shift-click or something to zoom
back out to full scale. If I could get the coordinates relative to the
top left of the plotArea, it would be easy to find the desired zoom
scale.

The problem is, the top and left (nor the height and width) of the
plotArea object seems to have nothing to do with the coordinates
received from the "_mouseUp" event nor the API "getCursorPos"
coordinates received. The window object top / left also seems to be
rather irrelevant. What I really want is just the top, left, height,
and width in pixels of the plotArea object relative to the top / left
of the screen. I would, of course, be assuming the whole chart is
visible at one time, but that way I could adjust the coordinates of the
click relative to the top / left of the plotArea.

I am using Excel 2002 and am very familiar with coding in Excel
normally, but it seems I am in a quandary. Can anyone help?

Jonathan Davis

 
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
right click problem with excel sedagli Excel Discussion (Misc queries) 1 February 13th 09 05:15 PM
Click on file, Loading Excel problem Martin K. Excel Discussion (Misc queries) 2 June 3rd 07 07:54 PM
Click on graph bar to execute a double-click in a pivot table cell [email protected] Charts and Charting in Excel 4 August 3rd 05 01:37 AM
click event problem in excel 2003 only rferron Excel Programming 0 April 21st 05 05:43 PM
Mouse Over Graph, Capture Information on Click(Double Click) Dean Hinson[_3_] Excel Programming 1 December 6th 04 04:49 AM


All times are GMT +1. The time now is 11:28 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"