hertzbeat
hertzbeat copied to clipboard
[Feature] Optimize Y-axis range display for high-value metrics
Feature Request
Currently, the monitor charts use a fixed Y-axis starting from 0. When handling high-value metrics with small fluctuations, the chart has two major issues:
- Inefficient Visualization: The data line appears as a flat horizontal line at the top of the chart, making it impossible to observe real-time trends.
- Wasted Space: A large portion of the chart (from 0 to 1200) is empty, which doesn't provide any useful information.
Is your feature request related to a problem? Please describe
No response
Describe the solution you'd like
I suggest implementing a Dynamic Y-Axis Scaling logic
- Auto-adjust Y-Axis Range: When data is concentrated in a high-value range, the Y-axis should dynamically "jump" or start from a non-zero value that is close to the minimum data point. This will magnify the fluctuations and make the chart more readable.
- Optimize Visual Density: By removing the unnecessary empty space below the data points, the chart can better utilize the available UI space to show detail.
Describe alternatives you've considered
No response
Additional context
No response
I'd like to work on this. Could you please assign it to me