Skip to content

[7.x] [ML] Fix focus chart updating. (#45146)#45242

Merged
walterra merged 1 commit intoelastic:7.xfrom
walterra:backport/7.x/pr-45146
Sep 10, 2019
Merged

[7.x] [ML] Fix focus chart updating. (#45146)#45242
walterra merged 1 commit intoelastic:7.xfrom
walterra:backport/7.x/pr-45146

Conversation

@walterra
Copy link
Copy Markdown
Contributor

Backports the following commits to 7.x:

- Restores the behavior of the angularjs version which only updates the focus chart once all data is loaded. The chart area itself doesn't have a loading indicator, but now we pass on the loading state of single metric viewer as a prop to TimeseriesChart. TimeseriesChart mostly wraps d3 code and we now trigger a re-render only if loading is false.
- Triggers the overall loading indicator when the focus chart reloads
- Fixes to pass in values for the progress bar as numbers instead of strings.
@walterra walterra added the backport This PR is a backport of another PR label Sep 10, 2019
@walterra walterra self-assigned this Sep 10, 2019
@walterra walterra added the :ml label Sep 10, 2019
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

@walterra walterra merged commit d37bb60 into elastic:7.x Sep 10, 2019
@walterra walterra deleted the backport/7.x/pr-45146 branch September 10, 2019 09:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR :ml

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants