Merge branch 'dev-3.8' of git.mesalab.cn:nezha/nezha-fronted into dev-3.9

This commit is contained in:
zyh
2023-09-25 14:00:57 +08:00

View File

@@ -399,16 +399,8 @@ export default {
}]
if (this.chartInfo.param.sparklineMode === 'area') {
chartOption.series[0].areaStyle = {
color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [
{
offset: 0,
color: this.hexToRgb(color, 0.1)
},
{
offset: 1,
color: this.hexToRgb(color, 1)
}
])
color: color,
opacity: 0.1
}
}
chartOption.yAxis.max = this.maxValue