mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-07-28 12:49:03 +00:00
fix(dashboard): remove peak indicator dot from CPU sparkline (#705)
The dot on the CPU sparkline added visual noise without adding information beyond what the textual "peak X% @ HH:MM" label already conveys. Disable showPeak on the CPU Sparkline; the peak text label is preserved.
This commit is contained in:
@@ -88,8 +88,7 @@ export function ResourceGauges({ systemStats, cpuHistory, netHistory, historyEnd
|
||||
points={cpuHistory}
|
||||
stroke="var(--chart-1)"
|
||||
fill="var(--chart-1)"
|
||||
peakColor="var(--chart-2)"
|
||||
peakIndex={cpuPeakIndex >= 0 ? cpuPeakIndex : undefined}
|
||||
showPeak={false}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user