Open psjavi opened 1 year ago
Hi all, I'm having a problem randomly.
I'm getting the following error:
Cannot read properties of null (reading 'valuePercent') at n.drawNeedle (chartjs-gauge.min.js:7:1957) at n.draw (chartjs-gauge.min.js:7:4363) ...
The data config I've created is the following:
data: { datasets: [{ data: [20, 40, 60, 80, 100], value: data['value'], backgroundColor: ['#f46d43', '#fdae61', '#ffffbf', '#a6d96a', '#1a9850'] }] },
How can I fix the error?
Thanks.
Hi all, I'm having a problem randomly.
I'm getting the following error:
The data config I've created is the following:
How can I fix the error?
Thanks.