ChartsOrg / ChartsOrg/Charts

Overlapping labels on pie chart

Open
#4,891 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Swift
Stars
28k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

* [X] I've read, understood, and done my best to follow the [*CONTRIBUTING guidelines](https://github.com/jjatie/Charts/blob/master/CONTRIBUTING.md).

## What did you do?

I use Charts to create a pie chart on iOS (from 12 to 15).

## What did you expect to happen?

I expect the labels to be spaced out enough to be readable.

## What happened instead?

The labels are overlapped when the values are similar.

Sometimes I also have the issue mentioned on #4488 .

## Charts Environment

**Charts version/Branch/Commit Number:** 3.6.0
**Xcode version:** 13.4.1
**Swift version:**5
**Platform(s) running Charts:**iOS 12.3
**macOS version running Xcode:** 12.5.1

I also tried to run the app on latest versions

**Charts version/Branch/Commit Number:** 4.0.3
**Xcode version:** 14.0 beta 6
**Platform(s) running Charts:**iOS 16.5

## Demo Project

![image](https://user-images.githubusercontent.com/86314440/187872986-5767962b-7d1d-40e4-a1bb-81c1c8d8851f.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.