You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There are quite a few open issues (or closed but regressed issues) that have problems with labels.
I found the best way to paint a label and change its rotation was with a custom painter using code similar to this.
Thought I'd add the workaround here and link to the other issues and perhaps ask for an update to the documentation. Note, I couldn't seem to get the text to overlay and have a higher 'z index' to appear over the top of the bar charts so I'm just putting the description next to it.
There are quite a few open issues (or closed but regressed issues) that have problems with labels.
![Screenshot 2024-05-14 at 11 45 07](https://private-user-images.githubusercontent.com/4139336/330393505-61811e38-49f9-440f-aa90-d15220699320.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTk3MDI5MDgsIm5iZiI6MTcxOTcwMjYwOCwicGF0aCI6Ii80MTM5MzM2LzMzMDM5MzUwNS02MTgxMWUzOC00OWY5LTQ0MGYtYWE5MC1kMTUyMjA2OTkzMjAucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI0MDYyOSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNDA2MjlUMjMxMDA4WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9MWFjNmMyM2EzMzE3NzEzYmU1MDg2NjczN2M5ZWM2YTNkNzg4Yzk4MDAzOGU5MGU4OGRhZTI1NDBhODc4MGYxZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.EOOS7Vralqw74_JO6w9mVWAozMDH4CDUyqM5jzOFf7Q)
I found the best way to paint a label and change its rotation was with a custom painter using code similar to this.
Thought I'd add the workaround here and link to the other issues and perhaps ask for an update to the documentation. Note, I couldn't seem to get the text to overlay and have a higher 'z index' to appear over the top of the bar charts so I'm just putting the description next to it.
#1132 #1434 #922 #911
Note: it isn't 'perfect' as the gridlines and anything else is painted on top of the labels.
The text was updated successfully, but these errors were encountered: