mirror of
https://github.com/dataease/dataease.git
synced 2025-02-24 03:22:56 +08:00
fix(图表): 修复进度条条件样式小于/小于等于/介于条件未生效的问题
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run
Some checks are pending
Typos Check / Spell Check with Typos (push) Waiting to run
This commit is contained in:
parent
bdb23313b6
commit
a0ab963c90
@ -1717,7 +1717,7 @@ export const addConditionsStyleColorToData = (chart: Chart, options) => {
|
||||
// 定义后,在 handleConditionsStyle 函数中使用
|
||||
let currentValue = item[valueField]
|
||||
if (chart.type === 'progress-bar') {
|
||||
currentValue = item['progress']
|
||||
currentValue = item['originalValue']
|
||||
}
|
||||
const cColor = getColorByConditions([q], currentValue, chart)
|
||||
if (cColor) {
|
||||
|
Loading…
Reference in New Issue
Block a user