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

[Lens] Fix area percentage gaps with zero fitting function #94086

Merged
merged 3 commits into from
Mar 11, 2021

Conversation

dej611
Copy link
Contributor

@dej611 dej611 commented Mar 9, 2021

Summary

Fixes #93648

Alternative to #93812 as discussed with @nickofthyme .

I've implemented the alternative solution using the fit="zero" solution, but I still see some gaps in the middle of the stacked area.

Screenshot 2021-03-09 at 14 44 16

Between the 2021-24-02 00:00 and 12:00 there's still a gap not filled with the fitting function. I've used the logs sample dataset, but if the specific data is required let me know.

Checklist

Delete any items that are not applicable to this PR.

For maintainers

Copy link
Contributor

@nickofthyme nickofthyme left a comment

Choose a reason for hiding this comment

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

code LGTM

@dej611 dej611 changed the title [Lens] Fix area percentage gaps (fitting solution) [Lens] Fix area percentage gaps with zero fitting function Mar 9, 2021
@dej611
Copy link
Contributor Author

dej611 commented Mar 9, 2021

@elasticmachine merge upstream

@nickofthyme
Copy link
Contributor

Gaps will be fixed in a patched version of elastic charts with elastic/elastic-charts#1067

@dej611 dej611 added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Mar 11, 2021
@dej611 dej611 marked this pull request as ready for review March 11, 2021 10:11
@dej611 dej611 requested a review from a team March 11, 2021 10:11
@elasticmachine
Copy link
Contributor

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

@dej611
Copy link
Contributor Author

dej611 commented Mar 11, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor

💚 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
lens 921.8KB 921.9KB +110.0B

History

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

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, works as expected

@dej611 dej611 added the auto-backport Deprecated - use backport:version if exact versions are needed label Mar 11, 2021
@dej611 dej611 merged commit ed95c08 into elastic:master Mar 11, 2021
@dej611 dej611 deleted the fix/93648-2 branch March 11, 2021 16:04
@kibanamachine
Copy link
Contributor

💚 Backport successful

7.x / #94452

Successful backport PRs will be merged automatically after passing CI.

kibanamachine added a commit to kibanamachine/kibana that referenced this pull request Mar 11, 2021
kibanamachine added a commit that referenced this pull request Mar 11, 2021
@nickofthyme
Copy link
Contributor

nickofthyme commented Mar 15, 2021

@flash1293 and @dej611 Since this issue has likely been in past kibana releases depending on when this regression was caused in chromium (https://bugs.chromium.org/p/chromium/issues/detail?id=1163912). What do you guys think about merging this patch fix (elastic/elastic-charts#1067) into 7.12? Should we wait for 7.12.1?

cc: @markov00

@flash1293
Copy link
Contributor

It's fine for 7.12 for me cc @timroes

@nickofthyme
Copy link
Contributor

Ok, merged here #94698

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Deprecated - use backport:version if exact versions are needed Feature:Lens release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.13.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Lens] Percentage charts can have gaps in a series
5 participants