How to Rotate Labels in a Sunburst Chart
There seems to be no way of rotating the text inside of the sunburst chart. Is there a way of fixing all the text orientation for the labels radially? So it would look like this:
Unfortunately the underlying plotly.js library doesn't have a feature for this at the moment. I would encourage you to create an issue in our sibling repo at https://github.com/plotly/plotly.js/issues/new
Thanks!
Thank you! Posted in js repo.
Hello, the plotly.js library now have this feature available (#3590), it uses the "insidetextorientation" with the values auto|horizontal|radial|tangential
@Piplopp yep, we're working on the Python 4.5 release, which will support this.
Hello. I am using "insidetextorientation": 'radial' and it works super well. However I want to change my orientation to horizontal when I click and open a parent. Is this possible?
EDIT: Nevermind... I did this thing called coding and I figured out how to use on('plotly_click') and javascript.
Thank you for requesting this. I'm benefitting from this being discussed 3 years ago.