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

[ML] Delayed data visualization: ensure y-axis count is visible #148982

Merged

Conversation

alvarezmelissa87
Copy link
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Jan 16, 2023

Summary

Related issue: #143702

Ensure the y-axis counts are visible in the delayed data chart.
Default Show model snapshots to be initially unchecked/hidden.

image

NOTE

Looks like this shouldn't explicitly need to be turned into a String() - a limitation on EUI Charts side - they will be updating on their end so that it's not necessary but for now this work-around is needed so that the y-axis values show up.

Checklist

Delete any items that are not applicable to this PR.

  • Any UI touched in this PR is usable by keyboard only (learn more about keyboard accessibility)
  • Any UI touched in this PR does not create any new axe failures (run axe in browser: FF, Chrome)

@alvarezmelissa87 alvarezmelissa87 added :ml Feature:Anomaly Detection ML anomaly detection release_note:skip Skip the PR/issue when compiling release notes v8.7.0 labels Jan 16, 2023
@alvarezmelissa87 alvarezmelissa87 self-assigned this Jan 16, 2023
@alvarezmelissa87 alvarezmelissa87 requested a review from a team as a code owner January 16, 2023 16:02
Copy link
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

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

LGTM.

With this change, you can see that when the datafeed is running but there are no source docs, we aren't setting the y axis minimum to 0. Can we fix the y axis minimum to 0? Maybe worth adding to #143702 if it isn't something you want to add to this PR.

image

Copy link
Member

@jgowdyelastic jgowdyelastic left a comment

Choose a reason for hiding this comment

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

LGTM

@alvarezmelissa87
Copy link
Contributor Author

@elasticmachine merge upstream

@alvarezmelissa87
Copy link
Contributor Author

@elasticmachine merge upstream

@kibana-ci
Copy link
Collaborator

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 3.4MB 3.4MB +8.0B

History

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

cc @alvarezmelissa87

@alvarezmelissa87 alvarezmelissa87 merged commit ecc048c into elastic:main Jan 19, 2023
@alvarezmelissa87 alvarezmelissa87 deleted the ml-delayed-data-add-y-axis branch January 19, 2023 22:13
@kibanamachine kibanamachine added the backport:skip This commit does not require backporting label Jan 19, 2023
adcoelho pushed a commit to adcoelho/kibana that referenced this pull request Jan 23, 2023
…tic#148982)

## Summary

Related issue: elastic#143702

Ensure the y-axis counts are visible in the delayed data chart.
Default `Show model snapshots` to be initially unchecked/hidden.

<img width="615" alt="image"
src="https://user-images.githubusercontent.com/6446462/212722354-59b292d9-06ec-469d-95ea-617a130bc299.png">

## NOTE

Looks like this shouldn't explicitly need to be turned into a String() -
a limitation on EUI Charts side - they will be updating on their end so
that it's not necessary but for now this work-around is needed so that
the y-axis values show up.



### Checklist

Delete any items that are not applicable to this PR.
- [x] Any UI touched in this PR is usable by keyboard only (learn more
about [keyboard accessibility](https://webaim.org/techniques/keyboard/))
- [x] Any UI touched in this PR does not create any new axe failures
(run axe in browser:
[FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/),
[Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US))

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@alvarezmelissa87 alvarezmelissa87 added release_note:fix and removed release_note:skip Skip the PR/issue when compiling release notes labels Jan 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport:skip This commit does not require backporting Feature:Anomaly Detection ML anomaly detection :ml release_note:fix v8.7.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants