fix: rollback

This commit is contained in:
junjie 2021-10-25 17:01:05 +08:00
parent 1ef965357d
commit 18c2c190d2

View File

@ -36,6 +36,13 @@ export function baseLineOption(chart_option, chart) {
type: customAttr.size.lineType
}
y.smooth = customAttr.size.lineSmooth
if (customAttr.size.lineArea) {
y.areaStyle = {
opacity: 0.6
}
} else {
delete y.areaStyle
}
}
// label
if (customAttr.label) {