( points: ScaledPoint[], plotX: number, plotY: number, height: number, )
| 64 | ); |
| 65 | |
| 66 | const getAreaPath = ( |
| 67 | points: ScaledPoint[], |
| 68 | plotX: number, |
| 69 | plotY: number, |
| 70 | height: number, |
| 71 | ) => |
| 72 | arrayIsEmpty(points) |
| 73 | ? '' |
| 74 | : `${getLinePath(points, plotX, plotY)} L${ |
| 75 | plotX + points[size(points) - 1][3] |
| 76 | },${plotY + height} L${plotX + points[0][3]},${plotY + height} Z`; |
no test coverage detected
searching dependent graphs…