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

Labels overlapping #61

Open
ergunkocak opened this issue Mar 31, 2020 · 3 comments
Open

Labels overlapping #61

ergunkocak opened this issue Mar 31, 2020 · 3 comments

Comments

@ergunkocak
Copy link

Hello,

First of thanks for the library.

The slice labels are overlapping if the slice values are too small. Here is a sample screenshot:

Screenshot 2020-03-31 at 09 38 00

Is it possible to solve this?

Best

@ergunkocak
Copy link
Author

ergunkocak commented Apr 1, 2020

It is easily reproducable in Example project by chaging the models in DoughnutDemo.swift to :

        let models = [
            PieSliceModel(value: 0.1, color: colors[0]),
            PieSliceModel(value: 0.2, color: colors[1]),
            PieSliceModel(value: 0.3, color: colors[2]),
            PieSliceModel(value: 99.4, color: colors[1])
        ]

@ergunkocak
Copy link
Author

ergunkocak commented Apr 2, 2020

@i-schuetz
I will try to fix. Any inputs will be appreciated. Where to check for intersections, suggestions etc.. :)

@ergunkocak
Copy link
Author

I created a pull request: #62

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

No branches or pull requests

1 participant