ChartsOrg / Charts

Beautiful charts for iOS/tvOS/OSX! The Apple side of the crossplatform MPAndroidChart.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DGCharts Y-axis labels are not aligned to left

davita00101110dmg opened this issue · comments

ℹ Please fill out this template when filing an issue.
All lines beginning with an ℹ symbol instruct you with what info we expect. You can delete those lines once you've filled in the info.

Per our *CONTRIBUTING guidelines, we use GitHub for
bugs and feature requests, not general support. Other issues should be opened on Stack Overflow with the tag ios-charts.

Please remove this line and everything above it before submitting.

What did you do?

chartView.leftAxis.labelAlignment = .left

What did you expect to happen?

I expected that left axis labels would be aligned to the left but it's aligned to the right.

What happened instead?

image

By default
chartView.leftAxis.labelAlignment = .left

I tried explicitly setting .left to the labelAlignment but it still doesn't works.

DGCharts Environment

DGCharts version/Branch/Commit Number:
Xcode version: 15.0.1
Swift version: 5.9
Platform(s) running DGCharts: iOS