hertzbeat icon indicating copy to clipboard operation
hertzbeat copied to clipboard

[Feature] Optimize Y-axis range display for high-value metrics

Open KOYR opened this issue 11 months ago • 1 comments

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:

  1. 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.
  2. Wasted Space: A large portion of the chart (from 0 to 1200) is empty, which doesn't provide any useful information.
Image

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

  1. 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.
  2. 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

KOYR avatar Dec 21 '25 15:12 KOYR

I'd like to work on this. Could you please assign it to me

KOYR avatar Dec 21 '25 15:12 KOYR