5.2.1 Click notifications from event markers

If you specify wantClick:true in the marker configuration, then the text setting becomes redundant and is not used, and the chart instead sends a message to the UDI when a marker is clicked on. You receive these notifications using a UDI.onEventMarkerClick() function:

UDI.onEventMarkerClick = function(marker)
{
	// marker parameter contains the definition of the marker which has been clicked on
};

Last updated