ChartDirector 7.1 (.NET Edition)

WebChartViewer.ClickHotSpot


Declaration

[C#]public event WebHotSpotEventHandler ClickHotSpot;
[VB]Public Event ClickHotSpot As WebHotSpotEventHandler

Description

This event occurs when the mouse is clicked on a hot spot of the chart image.

To fire this event, the chart image must have an image map using the special URL generated by WebChartViewer.GetPostBackURL.

WebHotSpotEventHandler is a delegate representing the signature of the method that can be used to handle the ClickHotSpot event. It is declared as follows.

[VB] Public Delegate Sub WebHotSpotEventHandler(sender As Object, e As WebHotSpotEventArgs)
[C#] public delegate void WebHotSpotEventHandler(object sender, WebHotSpotEventArgs e);

In the above, "sender" is the object that raises the event, and "e" is a WebHotSpotEventArgs object that contains the event data.