移除走势图 ReferenceLine 的 UMA 前缀,仅显示温度值
This commit is contained in:
@@ -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) => (
|
||||||
|
|||||||
Reference in New Issue
Block a user