Skip to main content

ChartClickEventHandler

Namespace: Wisej.Web.Ext.ChartJS4

Assembly: Wisej.Web.Ext.ChartJS4 (4.1.0.0)

Represents the method that will handle the ChartClick event.

public delegate void ChartClickEventHandler(Object sender, ChartClickEventArgs e)

Example:

chart.ChartClick += new ChartClickEventHandler(Chart_ChartClick);

private void Chart_ChartClick(object sender, ChartClickEventArgs e)
{
AlertBox.Show($"Clicked point {e.Data.data[0].pointIndex}");
}

Parameters​

NameTypeDescription
senderObjectThe ChartJS4 control that raised the event.
eChartClickEventArgsA ChartClickEventArgs that contains the event data.

Fired By​

NameDescription
ChartJS4.ChartClickFired when the user clicks a data point on the chart.