Quote: I set the legendStyle's textAligment property to
UITextAlignmentRight but stil the legends are centered. This I set after creating the chart's theme and customizing
Quote: When I directly change the style property like
chart.legend.style.textAlignment = NSTextAlignmentRight; it works correctly.
Confirming that this bug exists and still present, just wasted some time on it then found this page.
If you read well the report, setting
.textAlignment doesnt work.
.textAlignment does work, but is just an ugly workaround if you wand to code your own theme by inheritance.