mirror of
https://github.com/Studio-Saelix/sencho.git
synced 2026-08-30 12:09:15 +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}
|
points={cpuHistory}
|
||||||
stroke="var(--chart-1)"
|
stroke="var(--chart-1)"
|
||||||
fill="var(--chart-1)"
|
fill="var(--chart-1)"
|
||||||
peakColor="var(--chart-2)"
|
showPeak={false}
|
||||||
peakIndex={cpuPeakIndex >= 0 ? cpuPeakIndex : undefined}
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user