Open TimurNurlygayanov opened 4 years ago
The issue is with this line
gauge.percentColors = [[0.0, "#a9d70b"], [0.50, "#f9c802"], [1.0, "#ff0000"]];
Put it in your opts
objects.
var opts = {
...
percentColors: [[0.0, "#a9d70b"], [0.50, "#f9c802"], [1.0, "#ff0000"]]
}
It's a bug.
Hi, thank you very much for this cool library!
It looks like I've found a bug or maybe I'm not properly using the parameters.
Steps To Reproduce:
After gauge.set I'm getting the following JS error: