Skip to content

Conversation

@dej611
Copy link
Contributor

@dej611 dej611 commented Jul 8, 2020

Summary

This PR replaces the current regression library dependency with a simpler computation of the slope value based on the last 2 values.

  • πŸ› Fix the 0-value result for the slope prop
  • βœ… Add some testing for the function

Checklist

Delete any items that are not applicable to this PR.

@dej611 dej611 added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 v7.9.0 labels Jul 8, 2020
@dej611 dej611 requested a review from flash1293 July 8, 2020 13:27
@dej611 dej611 self-assigned this Jul 8, 2020
@dej611 dej611 linked an issue Jul 8, 2020 that may be closed by this pull request
@dej611
Copy link
Contributor Author

dej611 commented Jul 8, 2020

@elasticmachine merge upstream

@dej611
Copy link
Contributor Author

dej611 commented Jul 13, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

πŸ’š Build Succeeded

Build metrics

βœ… unchanged

History

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

@dej611 dej611 marked this pull request as ready for review July 13, 2020 12:14
@dej611 dej611 requested a review from a team July 13, 2020 12:14
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

LGTM, tested in Firefox and trend arrows are shown in the table as expected. Thanks for adding this!

@dej611 dej611 merged commit 4e9d981 into elastic:master Jul 13, 2020
@dej611 dej611 deleted the tsvb/trend-arrows-fix branch July 13, 2020 12:27
dej611 added a commit to dej611/kibana that referenced this pull request Jul 13, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
dej611 added a commit that referenced this pull request Jul 13, 2020
Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.9.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TSVB table trend arrows always show slope of 0

4 participants