-
I noticed that my pie chart is not dividing the chart correctly acoording to the values. I'm using the last version of chart js (3.2.1)
|
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
@renanxx1 the chart drawn is correct. The first slice is 14400 / (14400 + 28800) or 33% |
Beta Was this translation helpful? Give feedback.
-
Got it. |
Beta Was this translation helpful? Give feedback.
-
If you want the two halves to be equal, then simply setting the values equal will work. If you want the dividing line to be horizontal (as drawn in the image) the setting the values as 25 and 75 will work |
Beta Was this translation helpful? Give feedback.
@renanxx1 the chart drawn is correct. The first slice is 14400 / (14400 + 28800) or 33%