kurkle / chartjs-plugin-gradient

Easy gradients for Chart.js
MIT License
33 stars 6 forks source link

Use an inverted scale area when configured like reversed #11

Closed stockiNail closed 2 years ago

stockiNail commented 2 years ago

Fix #10

Using the scale as are for the gradient, it inversts the dimensions of the scale when configured with reverse: true.

sonarcloud[bot] commented 2 years ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

kurkle commented 2 years ago

Thanks @stockiNail for this. However, I had a bit different idea how to handle it and figured it to be faster to do it myself rather than asking for changes.

stockiNail commented 2 years ago

However, I had a bit different idea how to handle it and figured it to be faster to do it myself rather than asking for changes.

no problem at all!!