haiiaaa / chartjs-gauge

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

rotation doesn't work properly #1

Closed tarockx closed 4 years ago

tarockx commented 4 years ago

Hello, and thanks for this plugin, it's great.

I just wanted to report that rotation seems not to be working properly. If you set a rotation in the options different from the default one, for example:

options: {
        rotation: Math.PI * -0.5,
        ...
}

the needle is improperly placed, like in this screenshot: image

Would it possible to fix this? Thanks again for your work.

haiiaaa commented 4 years ago

Rotation should work now.