ChartsOrg/Charts

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

senthilhisto opened this issue · 1 comments

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

Hi there.
Got any solution for this?