✊🏿 Black Lives Matter. Please consider donating to Black Girls Code today.
🧬 Learn how to build RNA-Seq data apps with Python & Dash. Register for the May 20 Webinar!

Unable to control text size in Pie chart

Hello. I’m using the following options to control size of text inside the pie chart and also the hover. But it does not seem to be working. Same story for outsidetextfont. The example looks so nice. But unable to replicate that. Please help.
textposition: “inside”,
insidetextfont: {size: 8},
hoverlabel: {font: {size: 8}},

ff ss

You may use uniformtext option. Here is a demo.

Hello archmoj. Thanks for the demo and response. It works great for the percent text. However when I add label+percent, it does not take effect. Also this setting is not affecting the hovertext.

uniformtext does not take into account the sizes in hover effect. To control that please set hoverlabel.font.size. Here is the second demo.