public ClickEventHandler  ClickAxis

Remarks


A ClickAxis event occurs whenever the user clicks on a Chart axis subclass.

The Sender parameter specifies the Chart class that triggered the event.

The Axis parameter is the corresponding clicked Chart axis. It can be the Left, Right, Top or Bottom Chart Axis subclass.

The Button, Shift, X and Y parameters determine the mouse button and mouse cursor coordinates at the time the axis was clicked.

This event has a higher priority than OnClickBackGround event and lower priority than OnClickSeries event.

Example


[C#]

private void tChart1_ClickAxis(object sender, System.Windows.Forms.MouseEventArgs e)
{
     if ((Steema.TeeChart.Axis)sender==tChart1.Axes.Bottom)
        MessageBox.Show("Clicked Bottom Axis!!!");
}

See Also

WebChart Class | WebChart Members | Steema.TeeChart.Web Namespace