Browse Source

Fix waterwave background

pull/37/head
afc163 9 years ago
parent
commit
95aef7c663
  1. 2
      src/components/Charts/WaterWave/index.js

2
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;

Loading…
Cancel
Save