d3pie icon indicating copy to clipboard operation
d3pie copied to clipboard

Make cursor configurable

Open ghost opened this issue 9 years ago • 2 comments

Nice work on this d3 plugin!

I'm using the onClickSegment callback to get notified when the user clicks on a pie slice. This all works fine, but the click will take them to a new page, so ideally I'd like to be able to change the cursor on hover to cursor: pointer.

Is there any way to do that through the configuration or do I need to fall back to custom CSS?

ghost avatar May 05 '16 10:05 ghost

CSS should do the trick!

mojoaxel avatar Sep 07 '16 23:09 mojoaxel

I've got the job done as follow, anything better feel free to suggest: [class*="pieChart"] { cursor: pointer; }

leefsmp avatar Oct 03 '16 13:10 leefsmp