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 Editing The Code

  Also See:    


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

2 Comments

  1. Andrey Ruzmanov says:

    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