I have this where car is 2 and total is 12. So I wanted to get the percentage of this but this is in an Object.values(res) I wanted the dataset in the graph to be in a percentage value. Let’s say car is 2 and the total is 12. So it should be 16.66%. However, in my dataset right now,
Tag: react-chartjs
How to style specific gridlines differently in chartJs?
I am using chartJS to draw a bubble chart with an x axis running from -5 to +5 and a y axis running from -5 to +5. I was able to change the grid line styling using to get this result. my chart output so far I need to have the X and Y axis at 0 on both to