getsentry / getsentry/sentry

Y-Axis cursors are incorrectly synchronized

Open
#77,243 1 comment 0 reactions 0 assignees View on GitHub
Product Area: Dashboards
Dominant language
Python
Stars
44.8k
Forks
4.9k
Avg merge
22h 21m
Merged PRs (30d)
586

Description

### Environment

SaaS (https://sentry.io/)

### Steps to Reproduce

1. Create a dashboard
2. Add a line chart widget for a duration metric that ranges between 0 and 300
3. Add a line chart widget for a count metric that ranges between 0 and 300
4. Hover over one of the charts

### Expected Result

The x-axis marker is synced, since they use the same time range. The y-axis marker is not synced, since the two charts use different data units

### Actual Result

Both the x-axis and y-axis markers are synced.

This is also possible to reproduce in Insights and Metrics if the data set y-axis ranges match, so this is a bug deeper in ECharts. It might be possible to sync them in another way, or somehow specify that the units don't match so the y-axes don't sync.

![Image](https://github.com/user-attachments/assets/f8070d01-6a34-4231-8e89-1f9987c6a449)

### Product Area

Dashboards

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.