-
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] Fix Anomaly Explorer annotations misaligned #105696
Conversation
Pinging @elastic/ml-ui (:ml) |
x-pack/plugins/ml/public/application/explorer/swimlane_data_utils.ts
Outdated
Show resolved
Hide resolved
x-pack/plugins/ml/public/application/explorer/swimlane_data_utils.ts
Outdated
Show resolved
Hide resolved
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.
Tested and LGTM. Just left a comment on the annotations lane in the SMV.
@peteharverson Thanks for testing. I also added a quick fix for it here. Before |
x-pack/plugins/ml/public/application/services/anomaly_timeline_service.ts
Outdated
Show resolved
Hide resolved
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.
Latest edits 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
💚 Build SucceededMetrics [docs]Async chunks
History
To update your PR or re-run it, just comment with: cc @qn895 |
* Move swimlane annotation out of container, add new axis width prop * [ML] Fix alignment if some annotations overflow * [ML] Move utils function to inside anomaly_timeline_service * [ML] Fix y chart overflow * [ML] Enforce stricter check on isOverallSwimlaneData * [ML] Update logic to check if only one label
* Move swimlane annotation out of container, add new axis width prop * [ML] Fix alignment if some annotations overflow * [ML] Move utils function to inside anomaly_timeline_service * [ML] Fix y chart overflow * [ML] Enforce stricter check on isOverallSwimlaneData * [ML] Update logic to check if only one label
* Move swimlane annotation out of container, add new axis width prop * [ML] Fix alignment if some annotations overflow * [ML] Move utils function to inside anomaly_timeline_service * [ML] Fix y chart overflow * [ML] Enforce stricter check on isOverallSwimlaneData * [ML] Update logic to check if only one label Co-authored-by: Quynh Nguyen <[email protected]>
* Move swimlane annotation out of container, add new axis width prop * [ML] Fix alignment if some annotations overflow * [ML] Move utils function to inside anomaly_timeline_service * [ML] Fix y chart overflow * [ML] Enforce stricter check on isOverallSwimlaneData * [ML] Update logic to check if only one label Co-authored-by: Quynh Nguyen <[email protected]>
Summary
This PR fixes annotations being misaligned in the Anomaly Explorer view.
Before
After