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

[APM] Don't show annotations on charts with no data #68829

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

smith
Copy link
Contributor

@smith smith commented Jun 10, 2020

Hide the annotations plot and legend when a chart has annotations but doesn't have any values in the series.

Before:

before

After:

after

Fixes #66981.

Hide the annotations plot and legend when a chart has annotations but doesn't have any values in the series.

Fixes elastic#66981.
@smith smith requested a review from a team as a code owner June 10, 2020 22:13
@botelastic botelastic bot added the Team:APM All issues that need APM UI Team support label Jun 10, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:apm)

@kibanamachine
Copy link
Contributor

💚 Build Succeeded

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@smith smith merged commit 8aa1b39 into elastic:master Jun 11, 2020
@smith smith deleted the nls/no-annotate branch June 11, 2020 00:45
smith added a commit to smith/kibana that referenced this pull request Jun 11, 2020
Hide the annotations plot and legend when a chart has annotations but doesn't have any values in the series.

Fixes elastic#66981.
@sorenlouv
Copy link
Member

Can you backport this to 7.8?

gmmorris added a commit to gmmorris/kibana that referenced this pull request Jun 11, 2020
* master: (38 commits)
  Support migrating from reserved feature privileges (elastic#68504)
  add `preference` field to SavedObjectsFindOptions (elastic#68620)
  [ILM] Add "wait for snapshot" policy field to Delete phase (elastic#68505)
  Cleanup old license overwrites (elastic#68744)
  Bump TypeScript to v3.9 (elastic#67666)
  [APM] Service maps - adds new storybook stories to test out various data sets (elastic#68727)
  Fix vega specification parsing (elastic#67963)
  docs: add more api information (elastic#68717)
  [APM] Don't show annotations on charts with no data (elastic#68829)
  [Metrics UI] Fix Inventory View sorting by handling null values (elastic#67889)
  skip flaky suite (elastic#68836)
  [SIEM][Detections Engine] - Fix reference rule url overflow (elastic#68640)
  Index pattern public api => common (elastic#68289)
  [APM] Lazy-load alert triggers (elastic#68806)
  [DOCS] Fix table formatting in ingest manager settings (elastic#68824)
  [Endpoint] Functional Tests cleanup (elastic#68756)
  revert previous commit which was unintentional
  Use Github token instead for project assignments
  [SIEM][Exceptions] - ExceptionsViewer cleanup (elastic#68739)
  move @kbn/storybook to devDeps (elastic#68791)
  ...
smith added a commit that referenced this pull request Jun 11, 2020
Hide the annotations plot and legend when a chart has annotations but doesn't have any values in the series.

Fixes #66981.
@smith
Copy link
Contributor Author

smith commented Jun 11, 2020

Can you backport this to 7.8?

Will do.

@smith smith added v7.8.0 and removed v7.9.0 labels Jun 11, 2020
smith added a commit to smith/kibana that referenced this pull request Jun 11, 2020
Hide the annotations plot and legend when a chart has annotations but doesn't have any values in the series.

Fixes elastic#66981.
smith added a commit that referenced this pull request Jun 11, 2020
Hide the annotations plot and legend when a chart has annotations but doesn't have any values in the series.

Fixes #66981.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release_note:fix Team:APM All issues that need APM UI Team support v7.8.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[APM] Service version deployment annotation placement looks off
5 participants