I wanted to start my chart at negative values and I can't find any solution online, how can I achieve this? I'm new to JavaScript and stuck at how can I set the start value of my gauge with negative values. I have this code:
data: {
labels: ['Safe', 'Warning', 'Critical'],
datasets: [{
data: [80,85,160],
value: 0,
backgroundColor: ['green', 'orange', 'red'],
borderWidth: 2
}]
},
Any help in setting the starting point in gauge chartjs would be much appreciated. Suggestions to other beginner friendly Javascipt gauge library are welcome.