✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
⚡️ Concerned about the grid? Kyle Baranko teaches how to predicting peak loads using XGBoost. Register for the August webinar!

Hovertext alignment need right aligned

Hi,

I am using plotly.js (basic) v1.25.2 to draw pie chart.
I need hovertext to be aligned right.
I used layout.hoverlabel = {align:‘right’} as suggested on plotly reference site.
Yet I cant see the text to be aligned right.

image

Please help.