Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GraphPanel: Make legend values clickable series toggles #25581

Merged
merged 1 commit into from
Jun 15, 2020

Conversation

hshoff
Copy link
Contributor

@hshoff hshoff commented Jun 14, 2020

What this PR does / why we need it:

before
before_legend-label-value

after
after_legend-label-value

Which issue(s) this PR fixes:

Fixes #25402

Special notes for your reviewer:

This patch does have an effect on text selection for legend values (double-click, drag-to-select). These compound events start as clicks so the series toggles during the operation. This matches the behavior of the legend labels on click, so no change to this behavior was made.
after_text-selection

@hshoff hshoff requested review from a team, mckn and tskarhed and removed request for a team June 14, 2020 15:17
Copy link
Member

@torkelo torkelo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! thanks for contributing!

@torkelo torkelo added pr/external This PR is from external contributor add to changelog labels Jun 15, 2020
@torkelo torkelo added this to the 7.1 milestone Jun 15, 2020
@torkelo torkelo merged commit 66f6b05 into grafana:master Jun 15, 2020
@hshoff hshoff deleted the legend-value-click branch June 15, 2020 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
add to changelog pr/external This PR is from external contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Clicking on legend for "min/avg/max/total" does not select the metric
2 participants