haiiaaa / chartjs-gauge

Gauge chart for Chart.js
53 stars 35 forks source link

Set Range #13

Closed klienn closed 3 years ago

klienn commented 3 years ago

I wanted to start my chart at negative values and I can't find any solution online, how can I achieve this?

haiiaaa commented 3 years ago

Are you talking about rotation?

klienn commented 3 years ago

@haiiaaa no, i want the starting value to be negative. Whenever I tried to use a negative value, the pointer goes beyond the starting bar

haiiaaa commented 3 years ago

How would you represent a negative value in a pie/doughnut chart? Try to enter a negative value in the example editors https://www.chartjs.org/docs/master/charts/doughnut/

haiiaaa commented 3 years ago

I think know what you mean now, so I will fix this.

haiiaaa commented 3 years ago

Fixed in version 0.3.0, duplicate of #18