forked from github/dataease
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
|
||||
chart_option.series[0].markLine = {
|
||||
symbol: 'none',
|
||||
data: []
|
||||
if (chart_option.series && chart_option.series.length > 0) {
|
||||
chart_option.series[0].markLine = {
|
||||
symbol: 'none',
|
||||
data: []
|
||||
}
|
||||
}
|
||||
if (senior.assistLine && senior.assistLine.length > 0) {
|
||||
if (chart_option.series && chart_option.series.length > 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user