mirror of
https://github.com/dataease/dataease.git
synced 2026-05-15 05:22:13 +08:00
fix(图表): 修复地图设置图例等分区间钻取后显示数值不正确的问题
This commit is contained in:
committed by
jianneng-fit2cloud
parent
45f1904849
commit
2780d3e2d8
@@ -157,6 +157,11 @@ export class Map extends L7PlotChartView<ChoroplethOptions, Choropleth> {
|
||||
})
|
||||
})
|
||||
data = filterChartDataByRange(sourceData, maxValue, minValue)
|
||||
if (chart.drill) {
|
||||
getMaxAndMinValueByData(sourceData, 'value', 0, 0, (max, min) => {
|
||||
data = filterChartDataByRange(sourceData, max, min)
|
||||
})
|
||||
}
|
||||
} else {
|
||||
data = sourceData
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user