How to use Y-Axis values for Recharts linear gradient
Hi, I've been trying to use the y-axis values to create a linear gradient, but it only seems to work with percentages, which don't seem to perfectly line up with the reference line. Here's my code;
Left image is expected and right is actual.


0 Replies