feat(视图):line 面积bug fix

This commit is contained in:
junjie 2021-05-14 18:30:22 +08:00
parent c55b7dfe01
commit 9def83bfed

View File

@ -36,7 +36,9 @@ export function baseLineOption(chart_option, chart) {
type: customAttr.size.lineType
}
y.smooth = customAttr.size.lineSmooth
customAttr.size.lineArea ? y.areaStyle = { opacity: 0.6 } : { opacity: 0 }
y.areaStyle = {
opacity: customAttr.size.lineArea ? 0.6 : 0
}
}
// label
if (customAttr.label) {