Exploring the options for Charts.js to dynamically change fill color based on positive or negative point values has intrigued me.
I am in the process of creating an accounting system for a friend's new company, and I need a chart that visually represents the financial status. If the earnings dip below zero, it should be displayed in red, while any positive numbers should be shown in green.
Is it feasible with Charts.js to alter the chart fill color depending on its position relative to the x-axis?
For reference, here is a link to a photoshopped image illustrating the desired outcome: https://i.sstatic.net/o7SJJ.jpg