When xAxis.labelRotationAngle = 45, -45, 90, -90 minOffset on chart side with label is ignored
Open
- Dominant language
- Swift
- Stars
- 28k
- Forks
- 6k
- PR merge metrics
- No merged PRs in 30d
Description
Charts 3.0.1 - Line Chart
With the following settings:
ChartView.xAxis.labelPosition = .bottom
ChartView.xAxis.labelRotationAngle = 45 (or -45, 90, -90)
ChartView.minOffset = 40
The offset space is applied to the top, left, and right sides of the chart view. The spacing between the xAxis labels and bottom of the chart view never changes. It appears to be 0.
When ChartView.xAxis.labelRotationAngle = 0 or remove I remove this setting so that the labels are horizontal, the minOffset value is applied to all 4 sides of the chart as expected.
Contributor guide
Assessment
This issue has not been assessed yet.