Sets the mouseout event handler for dataSeries which is triggered when user moves mouse out of 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
- var chart = new CanvasJS.Chart("container",
- {
- .
- .
- data: [{
- mouseout: function(e){
- alert( e.dataSeries.type+ ", dataPoint { x:" + e.dataPoint.x + ", y: "+ e.dataPoint.y + " }" );
- },
- },
- ]
- .
- .
- });
- chart.render();
- e:{
- x,
- y,
- chart,
- dataPoint,
- dataSeries,
- dataPointIndex,
- dataSeriesIndex
- }