click - Sets Click Event Handler for Data Series | CanvasJS Charts

click: Function Sets the click event handler for dataSeries which is triggered when user clicks on a dataSeries. Upon event, a parameter that contains event related data is sent to the assigned event handler. Parameter includes dataPoint and dataSeries corresponding to the event. Default: null Example: click: function(e){   alert( e.dataSeries.type+ “, dataPoint { x:” … Continue reading click