You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can the data sheet define the number of quadrants? The default is a pie which has four quadrants. Where to modify so the pie happens to be three pieces for example?
The text was updated successfully, but these errors were encountered:
we currently hardcoded the start angles of the "pie slices" to work for 4 slices. The actual drawing in the react component uses the angles set up there.
I think it will be possible to update the implementation of createQuadrants (which then would be named wrongly ...) to work for a different number of slices. Just count how many slices are created, calculate the start angles and update the angles before all quadrants are returned.
As a quick test (or solution for you when you only have three slices), you could change the hard coded angles and check id the drawing is correct. There might be some issues with the zooming when you click on a slice.
Can the data sheet define the number of quadrants? The default is a pie which has four quadrants. Where to modify so the pie happens to be three pieces for example?
The text was updated successfully, but these errors were encountered: