forked from github/dataease
Merge pull request #11005 from dataease/pr@dev-v2@fix_bar_assist_line
fix(图表): 修复条形图辅助线导致渲染失败
This commit is contained in:
commit
e8ad15fc22
@ -751,7 +751,7 @@ export function getAnalyseHorizontal(chart: Chart) {
|
||||
dynamicLineFields?.includes(item.fieldId) &&
|
||||
!!_.find(quotaFields, d => d.id === item.fieldId)
|
||||
)
|
||||
const lines = fixedLines.concat(dynamicLines)
|
||||
const lines = fixedLines.concat(dynamicLines || [])
|
||||
|
||||
lines.forEach(ele => {
|
||||
const value = parseFloat(ele.value)
|
||||
|
Loading…
Reference in New Issue
Block a user