Sets the updated event handler for crosshair which is triggered whenever axisY crosshair is updated.
Default: nullvar chart = new CanvasJS.Chart("container", { . . axisY: { . . crosshair: { enabled: true, updated: function ( e ) { console.log("Crosshair value: " + e.value); } }, . . }, . . }); chart.render();
e: { chart: {}, crosshair: {options}, axis: parent axis, value }
Also See: