Reputation: 1
Any ideas for hiding the unused half in the 180º pie charts? As you can see in the image I attached, it still uses the same height as a 360° pizza chart.
I have been using these configs:
type: "pie",
scaleR: {
aperture: 180,
},
plot: {
refAngle: 180,
slice: "40%"
}
Upvotes: 0
Views: 63
Reputation: 301
you can play around with offsetY on plot and sizing the pie via sizeFactor to hide the unused half in the 180º pie charts. Please use this demo for reference.
NB: This is not flexible if the container dimension changes.
Upvotes: 0