114
rated 0 times
[
121]
[
7]
/ answers: 1 / hits: 18634
/ 7 Years ago, mon, march 13, 2017, 12:00:00
i want to add a text message inside my doughnut pie chart. To be more specific i want something like this:
I came across the same issue here in stack overflow by they use chart js in jquery and since i'm new to javascript i got confused. This is how i define my pie chart:
<Doughnut
data={sectorsData}
width={250}
height={250}
options={{
legend: {
display: false
},
maintainAspectRatio: false,
responsive: true,
cutoutPercentage: 60
}}
/>
More From » reactjs