-
Notifications
You must be signed in to change notification settings - Fork 8.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
[ML] Fixes clean up of multi-bucket markers on Single Metric chart up… #24080
[ML] Fixes clean up of multi-bucket markers on Single Metric chart up… #24080
Conversation
Pinging @elastic/ml-ui |
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
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
There's absolutely no chance of these shapes forming accidental rocket ships
💔 Build Failed |
retest |
💔 Build Failed |
85c547d
to
25ef23b
Compare
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 ⚡️
💚 Build Succeeded |
Summary
Fixes issue introduced in #23746 which could cause misplaced multi-bucket anomaly markers to appear in the Single Metric Viewer chart:
Previously when the chart was redrawn, for example by changing the position or extending the range of the selection 'slider', the d3 selection used to clean out previously rendered chart markers was not specific enough for the 'single bucket' or 'multi-bucket' markers, so old markers could end up being re-rendered on the chart. This has been fixed by using a specific
multi-bucket
class for the d3 selection of the multi-bucket markers.The fix was extended to the Anomaly Explorer single metric chart for consistency although these charts were not affected by the same issue as they are completely redrawn on container resize.
The size of the 'cross' symbol used for the multi-bucket markers has also been dropped slightly to reduce the visual impact of these markers, giving them dimensions similar in size to the 'single bucket' markers.
Checklist
Use
strikethroughsto remove checklist items you don't feel are applicable to this PR.Any text added follows EUI's writing guidelines, uses sentence case text and includes i18n supportDocumentation was added for features that require explanation or tutorialsUnit or functional tests were updated or added to match the most common scenariosThis was checked for keyboard-only and screenreader accessibilityFor maintainers
This was checked for breaking API changes and was labeled appropriatelyThis includes a feature additition or change that requires a release note and was labeled appropriately(non-issue, only introduced by [ML] Indicate multi-bucket anomalies in results dashboards #23746