Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 36
Default Finding which axis label was selected?

Is there a way to determine which axis label was clicked? Example: Chart by
month. If they click on March, can I detect that?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Finding which axis label was selected?

Using chart events, Excel can only tell which axis was clicked. However, you
could convert the coordinates of the click to a position on the chart, and
match this to the placement of the labels. It's probably easier to get the
category by having the user click on a point.

Here's an introduction to chart events:

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

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


"Rominall" wrote in message
...
Is there a way to determine which axis label was clicked? Example: Chart
by
month. If they click on March, can I detect that?



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
x-axis label placement Will Excel Discussion (Misc queries) 1 December 14th 06 02:04 AM
Y-axis label Bug Chris Charts and Charting in Excel 3 February 16th 06 05:57 PM
Y-Axis Label LittleEm Charts and Charting in Excel 8 January 30th 06 02:41 AM
How do I type in a tab label and get that tab to be selected? hotdoxy Excel Discussion (Misc queries) 1 May 23rd 05 09:56 PM
how do i label the axis? jiji Charts and Charting in Excel 1 April 5th 05 08:53 PM


All times are GMT +1. The time now is 04:50 PM.

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"