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
i want insert text inside of the Doughnut is it possible
<Doughnut
data={data}
style={{ width: "400px", height: "400px" }}
options={{
cutout: "80%",
plugins: {
title: {
text: "Actual",
},
},
}}
>
So in options -> plugins -> datalabels -> formatter you can return the label that you want. And you have also option to choose a color, font weight, font size etc.
Would you like to work on this feature?
What problem are you trying to solve?
Trying to add text inside the bubble same like this:
https://camo.githubusercontent.com/36e4135ac47b58f69aac98d9aced2f26b3adc157bb398117e39e79c747ea9739/687474703a2f2f692e696d6775722e636f6d2f4f514564674f572e676966
Describe the solution you'd like
A way to add text like a label field could be added by which a text is provided for bubble
Describe alternatives you've considered
No response
Documentation, Adoption, Migration Strategy
No response
The text was updated successfully, but these errors were encountered: