-
I am aware that questions should be asked on stackoverflow but there are not many questions tagged with chartjs and I thought when I get a full answer and have to discuss the code, then this is the best place here. Is this (gradient on x axis down to the bottom of the grid) possible and if, how can we achieve this? https://www.chartjs.org/docs/latest/configuration/canvas-background.html#color is not an option as this fills the whole grid including the scales and more space around the whole chart. And I guess this will not adapt to the scale width depending on the viewport. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You could start from that sample: https://www.chartjs.org/docs/latest/samples/plugins/quadrants.html |
Beta Was this translation helpful? Give feedback.
You could start from that sample: https://www.chartjs.org/docs/latest/samples/plugins/quadrants.html