Merge pull request #3236 from dataease/pr@dev@fix_assist_line
fix(视图): echarts辅助线报错
This commit is contained in:
commit
2e4b8e4e56
@ -274,9 +274,11 @@ export function seniorCfg(chart_option, chart) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// begin mark line settings
|
// begin mark line settings
|
||||||
chart_option.series[0].markLine = {
|
if (chart_option.series && chart_option.series.length > 0) {
|
||||||
symbol: 'none',
|
chart_option.series[0].markLine = {
|
||||||
data: []
|
symbol: 'none',
|
||||||
|
data: []
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (senior.assistLine && senior.assistLine.length > 0) {
|
if (senior.assistLine && senior.assistLine.length > 0) {
|
||||||
if (chart_option.series && chart_option.series.length > 0) {
|
if (chart_option.series && chart_option.series.length > 0) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user