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

In Piechart the percentage fraction digits are more than 2. How to avoid #5133

Open
1 task done
senthilhisto opened this issue Dec 11, 2023 · 1 comment
Open
1 task done

Comments

@senthilhisto
Copy link

senthilhisto commented Dec 11, 2023

What did you do?

ℹ I used the Piechart and when i show the result it was more than 2 digits.

What did you expect to happen?

ℹ Ideally, i don't need fractions.

What happened instead?

ℹ But showing more than 2 digits. Even i put the code pFormatter.maximumFractionDigits = 0. But no luck

DGCharts Environment

**DGCharts version/Branch/Commit Number:4.1.0
**Xcode version: 15.0.1
**Swift version: 5
**Platform(s) running DGCharts: iPad
**macOS version running Xcode: 14.1.2

Demo Project


Screenshot 2023-12-11 at 6 14 00 PM

@asar-s
Copy link

asar-s commented Feb 2, 2024

Hi there.
Got any solution for this?

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

2 participants