cursor: String

Sets the cursor type for legend items.


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

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
legend:{
   cursor: "pointer"  
 },

 .
 .
});
chart.render();


Try it Yourself by Editing the Code below.

  Also See:    



In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.

Comments 2

  1. The cursor flickers (rapidly changes from pointer to default) if Firefox on Mac OS, when cursor: ‘pointer’ is set

In order to provide better support,we have closed the comments and switched completely to our Forums.
If you have any questions, please feel free to ask in our forums.