forked from github/dataease
fix: echarts辅助线删除后存在缓存
This commit is contained in:
parent
4cb4b36aae
commit
d9e967a0c3
@ -216,12 +216,13 @@ export function seniorCfg(chart_option, chart) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (senior.assistLine && senior.assistLine.length > 0) {
|
// begin mark line settings
|
||||||
if (chart_option.series && chart_option.series.length > 0) {
|
|
||||||
chart_option.series[0].markLine = {
|
chart_option.series[0].markLine = {
|
||||||
symbol: 'none',
|
symbol: 'none',
|
||||||
data: []
|
data: []
|
||||||
}
|
}
|
||||||
|
if (senior.assistLine && senior.assistLine.length > 0) {
|
||||||
|
if (chart_option.series && chart_option.series.length > 0) {
|
||||||
const customStyle = JSON.parse(chart.customStyle)
|
const customStyle = JSON.parse(chart.customStyle)
|
||||||
let xAxis, yAxis
|
let xAxis, yAxis
|
||||||
if (customStyle.xAxis) {
|
if (customStyle.xAxis) {
|
||||||
|
Loading…
Reference in New Issue
Block a user