ChartsOrg / ChartsOrg/Charts

xAxis rotated labels cut off

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

Description

## What did you do?

I want to rotate xAxis labels because I need to put large text.

## What did you expect to happen?

I expect to show all text, I thought that I can show it with "fitScreen" function.

## What happened instead?

Labels with large width, are cutting off :(

## Code:

charView.xAxis.labelRotationAngle = -90.0
charView.setExtraOffsets(left: 30, top: 30, right: 30, bottom: 30)
charView.fitScreen()

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.