cursor: String

Sets the cursor type for dataPoint.


Default: “default”
Example: “pointer”, “crosshair” ..

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
 data: [{
   dataPoints: [
     {x: 5, y: 24, cursor: "pointer"}
  ]

  }],
 .
 . 
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



If you have any questions, please feel free to ask in our forums.Ask Question