getsentry / getsentry/sentry

[Post-redesign] Y-axis scaling

Open
#75,729 2 comments 1 reaction 0 assignees View on GitHub
Feature Product Area: Dashboards
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

**Problem**: For certain metrics like crash-free rates which are displayed as %, if all the values are within a small range (98% to 100%), the visualisation is not helpful since it appears as an almost stable line at the top.

![Image](https://github.com/user-attachments/assets/3234316c-ba90-4a78-80e1-a5176f29119d)

**Proposed solution:**
Add an auto-scale option in the widget builder (exact name TBD). When enabled, the minimum value of the Y-axis is also adjusted based on the min/max values within the time range. This should work similarly to the Project Details and Alerts charts for crash free sessions.

![Image](https://github.com/user-attachments/assets/b30fcc36-7fa5-4108-aec3-e48e52edf57a)

![Image](https://github.com/user-attachments/assets/b704fb13-5d11-47f0-ba94-6e102769b3f7)
![Image](https://github.com/user-attachments/assets/00ba35c2-0f3e-4f9e-85cc-c4aed0fbb93c)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.