react-sparklines
react-sparklines copied to clipboard
"mean" reference line doesn't seem to line up properly
I created a sparkline with constant values (e.g. [10, 10, 10, 10, 10]. When adding a "mean" reference line, it displays a few pixels under the trend line. Clearly, in this case, it should be directly on it.
Are you using the margin prop on the reference line?
@codingarmadillo Do you still have this issue?
I was able to find a workaround. Thanks.