diff --git a/src/components/Charts/WaterWave/index.js b/src/components/Charts/WaterWave/index.js index d1275de9ce97fa6eb6cbf41f320786b4a928545c..a9eece6165907533c7f99177ddbcb74f0f426c0b 100644 --- a/src/components/Charts/WaterWave/index.js +++ b/src/components/Charts/WaterWave/index.js @@ -102,7 +102,7 @@ class WaterWave extends PureComponent { ctx.lineTo(xOffset, canvasHeight); ctx.lineTo(startPoint[0], startPoint[1]); - const gradient = ctx.createLinearGradient(0, 0, 0, 170); + const gradient = ctx.createLinearGradient(0, 0, 0, canvasHeight); gradient.addColorStop(0, '#ffffff'); gradient.addColorStop(1, '#1890FF'); ctx.fillStyle = gradient;