d.endAngle}
+ />
+ }
+ labels={() => " "}
+ radius={(d) => d.radius}
+ innerRadius={(d) => d.innerRadius}
+ data={[
+ { x: "Cat", y: 62, innerRadius: 0, radius: 30 },
+ { x: "Dog", y: 91, innerRadius: 35, radius: 65 },
+ { x: "Fish", y: 55, innerRadius: 70, radius: 100 },
+ { x: "Bird", y: 55, innerRadius: 105, radius: 135, endAngle: 360 }
+ ]}
+ />
+ ))
.add("events: click handler", () => (
{
expect(clickHandler).called;
// the first argument is the standard evt object
expect(clickHandler.args[0][1])
- .to.include.keys("slices", "pathFunction", "width", "height", "style");
+ .to.include.keys("slices", "width", "height", "style");
});
it("attaches an event to data", () => {