forked from github/dataease
fix(图表): 瀑布图汇总提示显示错误 #9318
This commit is contained in:
parent
7d97d924d5
commit
d19045dac0
@ -187,7 +187,7 @@ export class Waterfall extends G2PlotChartView<WaterfallOptions, G2Waterfall> {
|
|||||||
let tmpValue = totalMap[id]
|
let tmpValue = totalMap[id]
|
||||||
let color = 'grey'
|
let color = 'grey'
|
||||||
if (id === yAxis[0].id) {
|
if (id === yAxis[0].id) {
|
||||||
tmpValue = parseFloat(head.value as unknown as string)
|
tmpValue = head.data.value
|
||||||
color = head.color
|
color = head.color
|
||||||
}
|
}
|
||||||
const value = valueFormatter(tmpValue, formatter.formatterCfg)
|
const value = valueFormatter(tmpValue, formatter.formatterCfg)
|
||||||
|
Loading…
Reference in New Issue
Block a user