|
|
@ -215,16 +215,15 @@ export default { |
|
|
|
// 填充渐变颜色 |
|
|
|
let gr = context.createLinearGradient(230, 0, 360, 0); |
|
|
|
gr.addColorStop(1, "rgba(92,197,255,0)"); |
|
|
|
gr.addColorStop(0, "rgba(92,197,255,0.3)"); |
|
|
|
drawRoundRect(context, 202, 16, 134, 18, 10, gr); |
|
|
|
drawRoundRect(context, 202, 39, 134, 18, 10, gr); |
|
|
|
drawRoundRect(context, 202, 61, 134, 18, 10, gr); |
|
|
|
drawRoundRect(context, 202, 83, 134, 18, 10, gr); |
|
|
|
drawRoundRect(context, 202, 105, 134, 18, 10, gr); |
|
|
|
drawRoundRect(context, 202, 127, 134, 18, 10, gr); |
|
|
|
drawRoundRect(context, 202, 149, 134, 18, 10, gr); |
|
|
|
|
|
|
|
gr.addColorStop(0, "rgba(92,197,255,0.5)"); |
|
|
|
context.lineWidth = 1; // 设置线段宽度 |
|
|
|
drawRoundRect(context, 202, 8, 280, 20, 12, gr); |
|
|
|
drawRoundRect(context, 202, 32, 280, 20, 10, gr); |
|
|
|
drawRoundRect(context, 202, 56, 280, 20, 10, gr); |
|
|
|
drawRoundRect(context, 202, 80, 280, 20, 10, gr); |
|
|
|
drawRoundRect(context, 202, 104, 280, 20, 10, gr); |
|
|
|
drawRoundRect(context, 202, 128, 280, 20, 10, gr); |
|
|
|
drawRoundRect(context, 202, 152, 280, 20, 10, gr); |
|
|
|
|
|
|
|
this.myChart = myChart; |
|
|
|
}); |
|
|
|