Clickable Axis Title

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

Clickable Axis Title

Post by Mike Jones » Fri Jan 18, 2008 10:15 pm

Is there a way to support a right click event on a chart axis title?

I would like to right click on title of an axis and pop up a custom menu. At firs glance the Axis Title does not seem to support click events.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon Jan 21, 2008 11:47 am

Hi Mike,

Yes, that's right. I've added your request to our wish-list to be considered for inclusion in future releases.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Mike Jones
Advanced
Posts: 192
Joined: Thu Feb 01, 2007 12:00 am
Contact:

Any possibility of this feature being considered?

Post by Mike Jones » Fri May 22, 2009 9:12 pm

Have not heard anything on this in over a year. Any possibility this new feature will be considered, soon?

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Mon May 25, 2009 7:42 am

Hi Mike,

Sorry if I didn't come up with this before but you can already do that doing something like this:

Code: Select all

		void tChart1_ClickAxis(object sender, MouseEventArgs e)
		{
			if (e.Button == MouseButtons.Right)
			{
				tChart1.Header.Text = "axis right-clicked";
			}
		}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply