diff --git a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts index f90601bc27..eace7b904a 100644 --- a/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts +++ b/core/core-frontend/src/views/chart/components/js/panel/common/common_antv.ts @@ -680,7 +680,7 @@ export function getAnalyse(chart: Chart) { chart.type.includes('chart-mix'))) ) }) - const lines = fixedLines.concat(dynamicLines) + const lines = fixedLines.concat(dynamicLines || []) lines.forEach(ele => { const value = parseFloat(ele.value) const content =