Skip to content
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

PieChart: Add option for using slice color as value line color #3898

Merged
merged 1 commit into from
Apr 28, 2018

Conversation

sembozdemir
Copy link
Contributor

Fixes: #3897

If dataSet.setUsingSliceColorAsValueLineColor(true); is called, value line color will be the same color with slice.

@almic
Copy link
Contributor

almic commented Apr 28, 2018

Looks great. I would suggest going all the way with your idea on the value lines ending outside the circle with a dot at the end, but this works fine the way it is. If you could add the option to draw lines with an entirely separate color list, that'd be awesome too.

@almic almic merged commit 40adb57 into PhilJay:master Apr 28, 2018
regas99 pushed a commit to regas99/MPAndroidChart that referenced this pull request Apr 1, 2019
…_colors

PieChart: Add option for using slice color as value line color
@abdulBasitWaqas07
Copy link

how can i add the value line on the basis of each slice?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PieChart: Use slice color as value line color
3 participants