Skip to content

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

Merged
almic merged 1 commit intoPhilJay:masterfrom
sembozdemir:pie_chart_value_line_colors
Apr 28, 2018
Merged

PieChart: Add option for using slice color as value line color#3898
almic merged 1 commit intoPhilJay:masterfrom
sembozdemir:pie_chart_value_line_colors

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