映射配置(JSON 片段)
映射配置(JSON 片段)
"mappings": [
{"type": "value", "options": {
"0": {"text": "已下线", "color": "red"},
"1": {"text": "运行中", "color": "green"}}},
{"type": "special", "options":
{"match": "null", "result": {"text": "无数据"}}}
]特殊值支持 null、NaN、true/false 等;对缺失数据统一显示“无数据”可避免误读为 0。