ChartsOrg / ChartsOrg/Charts

Feature Request: Ability to rotate y-axis label (90 degrees)

Open
#4,368 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

Swift 5, iOS 13, Charts from pod on May 13, 2020.

Currently Charts supports rotating the x-axis labels, but not the y-axis. I would like to be able to rotate the y-axis for a simple line chart.

`
var lineChartView: LineChartView
lineChartView.xAxis.labelRotationAngle = CGFloat(90.0)
`

This yields in error: `lineChartView.leftAxis.labelRotationAngle = CGFloat(90.0)`

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.