sparkline icon indicating copy to clipboard operation
sparkline copied to clipboard

prevent division by zero when calculating y values

Open glaszig opened this issue 3 years ago • 1 comments

calling getY() with 0 value would produce NaN which are invalid in svg where those end up. in that case, the added condition returns the height in float to draw a data point at y=0.

related #13, closes #24, fixes #14

glaszig avatar Dec 03 '22 18:12 glaszig

?

glaszig avatar Jan 27 '24 03:01 glaszig