Documentation Is:
- Missing or needed
- Confusing
- Not Sure?
Please Explain in Detail…
I need to give 3 different colors as gradient color in the background in the “line chart”. These colors should be based on the values.
value and colors
120 to 200: green color
60 yo 120 : blue color
0 to 60: Orange color.
also when no value with data above 120 is given as parameter green color should not be displayed.
I have attached the image.
I created a plugin to ease the pain: https://github.com/kurkle/chartjs-plugin-gradient 🙂