ChartsOrg / ChartsOrg/Charts

RadarChartView have big white space when the XAxis label is more than 13 characters

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

Description

Hello All,
I created a RadarChartView in Xcode and linked it to my VC, RadarChartView should work and the space should not be too big from the label and the radar chart. The radar chart is too small because of the empty white space.

## Charts Environment

**Charts version/Branch/Commit Number:**
**Xcode version:13.2.1
**Swift version:5
**Platform(s) running Charts: IOS 15.3.1
**macOS version running Xcode:12.1

## Demo Project
![barChartView](https://user-images.githubusercontent.com/86813104/156897700-85ef5263-d817-4810-8cc1-1aeafcfb5a10.jpeg)

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in Xcode 13.2.1 on iOS 15.3.1 using a RadarChartView with an XAxis label longer than 13 characters. Inspect the RadarChartView and X-axis layout behavior; it is done when the chart no longer shrinks because of excessive white space around the label.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.