Closed AdrianBav closed 2 years ago
Since PRing this, i've since made a flexible/dynamic addition to my forked copy.
->stylesFromJson('{"xaxis": {"labels": {"rotate": -90}}}')
I wanted to make too many customizations and didn't want make/PR a lot of fluent method helpers to cover everything. (I also added a "stylesFromFile" for when do ultra customization)
With these helpers, all data must still be set via the addSlice/addLine helpers. I just wanted a way to apply styles.
Even though its already written, I don't know if its worth PRing this. It feels like a bit of a hack and against the idea of using fluent helpers to apply styles. But it works for me, Let me know.
+1
This would be a huge help as I'm currently running into an issue where I need to add "$" to the y axis labels. This would easily solve that problem!
Closing this PR in favor of a more comprehensive solution.
Summary
Added x-axis label rotation configuration for column charts
Issue
When large amounts of x-axis labels, the default 45° rotation isn't enough
Type of Change
Screenshot/Video