Page 1 of 1

Click on AxisLabel or AxisTitle

Posted: Fri Mar 23, 2007 11:39 pm
by 9643227
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

Posted: Mon Mar 26, 2007 8:15 am
by narcis
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.

Code: Select all

		private void tChart1_MouseDown(object sender, MouseEventArgs e)
		{
			if (tChart1.Axes.Bottom.Labels.Clicked(e.X, e.Y) != -1)
			{
			}
		}