public ClickEventHandler ClickBackground
Remarks
A ClickBackGround event occurs whenever the user clicks onto a Chart space outside Axis, Series points or Chart Legend.
It has the lowest priority below all other mouse events.
The Sender parameter specifies the Chart class that originated the event.
The Button, Shift, X and Y parameters determine the mouse button and mouse cursor coordinates at the time the Chart was clicked.
Example
[C#]
private void WebChart1_ClickBackground(object sender, System.Web.UI.ImageClickEventArgs e)
{
//event triggered when any point on the Chart is clicked. If the ClickSeries event is active
//it will take precedence when a Series is clicked.
clickedX=e.X;
clickedY=e.Y;
msgText="Clicked background\n\rX:"+WebChart1.Chart.Axes.Bottom.CalcPosPoin(clickedX).ToString("#0.00")+",Y:"+WebChart1.Chart.Axes.Left.CalcPosPoint(clickedY).ToString("#0.00");
}
See Also
WebChart Class | WebChart Members | Steema.TeeChart.Web Namespace