Skip to content

feat(hub): add fixed CPU Y-axis scale setting#1885

Open
svenvg93 wants to merge 1 commit intohenrygd:mainfrom
svenvg93:1814-lock-cpu-axis
Open

feat(hub): add fixed CPU Y-axis scale setting#1885
svenvg93 wants to merge 1 commit intohenrygd:mainfrom
svenvg93:1814-lock-cpu-axis

Conversation

@svenvg93
Copy link
Copy Markdown
Collaborator

@svenvg93 svenvg93 commented Apr 3, 2026

📃 Description

Adds a persistent CPU Y-axis scale setting that allows users to fix the CPU chart Y-axis at 0–100% instead of the default dynamic scaling.

closes #1814.

🪵 Changelog

➕ Added

  • cpuFixed boolean field to UserSettings — persisted to the database like other chart preferences
  • CPU Y-axis scale select in Settings → General → Chart options, with "Dynamic" and "0 – 100 %" options

✏️ Changed

  • CPU Usage chart Y-axis switches between pinnedAxisDomain() (dynamic) and [0, 100] (fixed) based on the setting
  • CPU Cores sheet charts (stacked overview and individual per-core charts) respect the same setting
  • Individual per-core charts use [0, 100] instead of [0, highestCpuCorePct] when fixed is enabled

@svenvg93 svenvg93 requested a review from henrygd as a code owner April 3, 2026 17:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Option to lock Y-Axis scaling to 0-100%

1 participant