-
Notifications
You must be signed in to change notification settings - Fork 12k
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
Histogram: Fix panel hide when clicking on legend #53651
Conversation
@@ -199,7 +199,7 @@ const prepConfig = (frame: DataFrame, theme: GrafanaTheme2) => { | |||
colorMode, | |||
pathBuilder, | |||
//pointsBuilder: config.drawPoints, | |||
show: !customConfig.hideFrom?.vis, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No way! Where is typescript when you need it the most?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to make sure to type this properly in the future. Also to include it in the schema generation. We do include this in the schema generation HideableFieldConfig
You're right. I'll look into it and try to do it in this PR |
This pull request was removed from the 9.1.0 milestone because 9.1.0 is currently being released. |
(cherry picked from commit 2d391c9)
(cherry picked from commit 2d391c9)
What this PR does / why we need it:
Small fix that allow histogram panel to hide/show series when series clicked from legend.
Which issue(s) this PR fixes:
Fixes #52671