mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
Merge pull request #11005 from dataease/pr@dev-v2@fix_bar_assist_line
fix(图表): 修复条形图辅助线导致渲染失败
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user