cursor: String

Sets the cursor type for legend items.


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

var  chart =  new  CanvasJS.Chart("container",
{
 .
 .
legend:{
   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

Comments 2

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

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