Pie/Donut apexChart - labels rendering orders #3895
Unanswered
mohdmujahithali
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello Team, Greetings.
I'm new to Apex charts and have been done my tasks with the apex-chart documentation as below.
<Chart type="donut" series={[2, 8, 5]} width="375" options={{ labels: ['High (2)', 'Medium (8)', 'Low (5)'], plotOptions: { pie: { donut: { labels: { show: true, total: { show: true, label: 'Students', }, }, }, }, }, }} />
With the above code, I am getting pie-chart as attached screenshots below,
Here, labels inside the donut circle is showing as "Students 15". But I need to show the label as "15 Students". Please help me how to achieve this.
Beta Was this translation helpful? Give feedback.
All reactions