移除走势图 ReferenceLine 的 UMA 前缀,仅显示温度值

This commit is contained in:
2569718930@qq.com
2026-05-25 06:25:53 +08:00
parent dc5bd9a496
commit c9339c1bca
@@ -508,7 +508,7 @@ export function LiveTemperatureThresholdChart({
stroke="#f97316" stroke="#f97316"
strokeDasharray="4 3" strokeDasharray="4 3"
strokeWidth={2} strokeWidth={2}
label={{ value: `UMA ${threshold.toFixed(1)}°`, fill: "#f97316", fontSize: 10, position: "left" }} label={{ value: `${threshold.toFixed(1)}°`, fill: "#f97316", fontSize: 10, position: "left" }}
/> />
)} )}
{probRefLines.map((item, i) => ( {probRefLines.map((item, i) => (