-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Plot legends expand by default when enabled #7453
Plot legends expand by default when enabled #7453
Conversation
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #7453 +/- ##
===========================================
+ Coverage 41.22% 52.89% +11.67%
===========================================
Files 428 671 +243
Lines 13353 27002 +13649
Branches 0 2629 +2629
===========================================
+ Hits 5505 14284 +8779
- Misses 7848 11994 +4146
- Partials 0 724 +724
*This pull request uses carry forward flags. Click here to find out more.
... and 495 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
…egends-not-expanding-when-requested
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.
Changes look awesome overall. I have a few comments and suggestions before we merge
…egends-not-expanding-when-requested
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.
The changes themselves are working fine!
During testing I noticed that when I toggle the Expand by Default
option and save it, the change is not immediately applied. A refresh is required for the changes to take effect.
@shefalijoshi My interpretation of "Expand by Default" was the it should expand the legend on page load, not to immediately expand the legend. Is that what we want? |
Right. I'm curious about what @charlesh88 thinks. I'll approve this for now. If you feel like the change needs to go into a different PR, I'm ok with that. |
It's been implemented to immediately expand, but can easily be reverted. |
* simplify config loading logic * wip * fixed stacked plot legend issue * fix legend * remove console.debugs * remove extraneous prop * add test * fix legend * use props
Closes #7403
Describe your changes:
Rely on Vue to enable/disable legend. Ensure we check config on mount for expansion and properties.
All Submissions:
Author Checklist
type:
label? Note: this is not necessarily the same as the original issue.Reviewer Checklist