-
-
Notifications
You must be signed in to change notification settings - Fork 6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rounded corners in each pie chart slice #4540
Comments
I have the same problem. |
You could probably accomplish this by overriding the pie renderer, like in #4297 |
@kelvinofula Hi, Did you this? I have same problem. I can't do slices rounded |
Maybe this can help you, I cannot help more than this. This is a renderer code for MPAndroidChart PieChart but on Android
video_2023-04-04_16-08-51.mp4 |
@4np, sorry, how can I make corner radius for pie chart, can you give an example? |
@minhDTNHust , you would need create a custom renderer (example) and override:
In the overrides, render a path with rounded corners. You get the pie segment path, it's up to you to transform it into one with rounded corners which shouldn't be too hard (see |
not highlight ? |
Hi, was wondering if you could please help me achieve this look. I've tried but nothing seems to work. I just want my slices to be rounded the way it's displayed in this image below. Thank you
The text was updated successfully, but these errors were encountered: