FormidableLabs / FormidableLabs/victory
Minimum size of an angle in a pie chart
Open
Issue: Accepted
Type: Enhancement :pencil2:
- Dominant language
- TypeScript
- Stars
- 11.2k
- Forks
- 536
- PR merge metrics
- No merged PRs in 30d
Description
I couldn’t find in the documentation how to make the minimum angle for a pie chart.
For example, I have [0, 1, 15000] in my data, and I draw 3 parts of the pie; for the second part, I want it to always be at least 2% of the total part. For example, in echarts there is a minAngle parameter that is responsible for this (https://echarts.apache.org/en/option.html#series-pie.minAngle)
How to do this in victory?
Contributor guide
Assessment
This issue has not been assessed yet.