mirror of
https://github.com/dataease/dataease.git
synced 2025-02-25 12:03:05 +08:00
fix(图表): 修复显示最值,遇到空值时,左上角显示了空值标记的问题
This commit is contained in:
parent
93973dae84
commit
64ba0bb289
@ -52,6 +52,10 @@ const getRgbaColorLastRgba = (rgbaString: string) => {
|
||||
}
|
||||
|
||||
function createExtremumDiv(id, value, formatterCfg, chartId) {
|
||||
// 空值不处理
|
||||
if (!value && value != 0) {
|
||||
return
|
||||
}
|
||||
// 装标注的div
|
||||
const parentElement = document.getElementById('point_' + chartId)
|
||||
if (parentElement) {
|
||||
|
Loading…
Reference in New Issue
Block a user