Dear TeeChart Support:
I would like my program to respond to the user's clicking on an AxisLabel or AxisTitle. However, as far as I understand, no event is fired under this condition. I wonder if you can recommend a quick solution?
Thanks.
Jeff
Click on AxisLabel or AxisTitle
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Jeff,
For labels you can use its Clicked method like shown below. However, this method is not implemented for title. I'll add it to our wish-list to be considered for inclusion in future releases.
For labels you can use its Clicked method like shown below. However, this method is not implemented for title. I'll add it to our wish-list to be considered for inclusion in future releases.
Code: Select all
private void tChart1_MouseDown(object sender, MouseEventArgs e)
{
if (tChart1.Axes.Bottom.Labels.Clicked(e.X, e.Y) != -1)
{
}
}
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |