d3pie
d3pie copied to clipboard
Pie segment click effect doesn't work if name of pie is not "pie"
If I name my pie something other than "pie", I get the following error when clicking on it (and the click effect doesn't work):
d3pie.min.js:8 Uncaught ReferenceError: pie is not defined
at Object.maybeCloseOpenSegment (d3pie.min.js:8)
at Object.openSegment (d3pie.min.js:8)
at SVGGElement.
Am I doing something wrong?
Does your call look something like this?
myPieName = new d3pie(
If you paste your call it would be easier to help you.