feat(ui): 趋势图跳过无值节点并接续有效数据

This commit is contained in:
2026-11-07 15:04:06 +08:00
parent 050ee30f56
commit 7f3f573e7c
16 changed files with 70 additions and 16 deletions
+1 -1
View File
@@ -8,7 +8,7 @@ enum TrendValueFormat {
case watts
}
/// Bounded, timestamp-based static curves. Gaps remain gaps; no per-sample animation task.
/// Static curves skip missing vertices, retaining timestamps and explicit sampling breaks.
struct PanelTrendChart: View {
let dates: [Date]
let first: [Double?]