I am using DGCharts and Y-axis labels aren't aligned to the left but are aligned to the right.
By default
chartView.leftAxis.labelAlignment = .left
I tried explicitly setting .left to labelAlignment but it still doesn't work.
I am using DGCharts and Y-axis labels aren't aligned to the left but are aligned to the right.
By default
chartView.leftAxis.labelAlignment = .left
I tried explicitly setting .left to labelAlignment but it still doesn't work.
Copyright © 2021 Jogjafile Inc.

In my experience, neither labelAlignment left nor right works with
labelPosition == .outsideChart. The chart always takes left with.insideChartand right with.outsideChart.In case you just want a little spacing between leftAxis's label and the chart content, you can try this:
Or custom
IndexAxisValueFormatterwith spacings.