-
Notifications
You must be signed in to change notification settings - Fork 130
fix(specs): shows a chart message without series specified #506
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
Conversation
This commit fix the use case when no series spec is configured. Instead of throwing an error, it will just display the "No data to display" message.
Codecov Report
@@ Coverage Diff @@
## master #506 +/- ##
==========================================
+ Coverage 84.56% 84.57% +0.01%
==========================================
Files 158 169 +11
Lines 4736 4889 +153
Branches 965 985 +20
==========================================
+ Hits 4005 4135 +130
- Misses 716 738 +22
- Partials 15 16 +1
Continue to review full report at Codecov.
|
rshen91
left a comment
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.
Thanks for adding the tests - these changes make sense!
nickofthyme
left a comment
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.
LGTM 👍
## [16.0.1](v16.0.0...v16.0.1) (2020-01-03) ### Bug Fixes * **specs:** shows a chart message without series specified ([#506](#506)) ([ba1a67b](ba1a67b))
|
🎉 This PR is included in version 16.0.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
## [16.0.1](elastic/elastic-charts@v16.0.0...v16.0.1) (2020-01-03) ### Bug Fixes * **specs:** shows a chart message without series specified ([opensearch-project#506](elastic/elastic-charts#506)) ([4112e62](elastic/elastic-charts@4112e62))
Summary
This commit fix the use case when no series specs are configured. Instead of throwing an error, it
will just display the "No data to display" message.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.src/index.ts(and stories only import from../srcexcept for test data & storybook)