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

[TSVB] Fixes the timeseries legend, renders the metric, gauge charts for series with empty strings #90760

Merged
merged 5 commits into from Feb 16, 2021

Conversation

stratoula
Copy link
Contributor

@stratoula stratoula commented Feb 9, 2021

Summary

Closes #90758
It seems that TSVB charts do not treat correctly series with empty strings. Specifically, timeseries render the chart but not the legend, metric and gauge charts for the empty string is not rendered at all and table and TopN are rendered but without a label. So I followed the Lens logic and applied the (empty) string here.

Timeseries with empty label
image

Render the metric and gauge for the empty label
image

image

Table with empty label
image

TopN
image

Checklist

@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula stratoula changed the title [TSVB] Fixes the legend for empty values and renders the metric, gaug… [TSVB] Fixes the legend for empty values and renders the metric, gauge charts Feb 11, 2021
@stratoula stratoula changed the title [TSVB] Fixes the legend for empty values and renders the metric, gauge charts [TSVB] Fixes the legend for empty strings and renders the metric, gauge charts for them Feb 11, 2021
@stratoula stratoula changed the title [TSVB] Fixes the legend for empty strings and renders the metric, gauge charts for them [TSVB] Fixes the timeseries legend, renders the metric, gauge charts for for empty strings Feb 11, 2021
@stratoula stratoula changed the title [TSVB] Fixes the timeseries legend, renders the metric, gauge charts for for empty strings [TSVB] Fixes the timeseries legend, renders the metric, gauge charts for series with empty strings Feb 11, 2021
@stratoula
Copy link
Contributor Author

@elasticmachine merge upstream

@stratoula stratoula added Feature:TSVB TSVB (Time Series Visual Builder) v7.12.0 v8.0.0 release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Feb 15, 2021
@stratoula stratoula marked this pull request as ready for review February 15, 2021 08:24
@stratoula stratoula requested a review from a team February 15, 2021 08:24
@elasticmachine
Copy link
Contributor

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

@mbondyra
Copy link
Contributor

@elasticmachine merge upstream

Copy link
Contributor

@mbondyra mbondyra 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, tested and works as expected!

@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
visTypeTimeseries 1.7MB 1.7MB +918.0B

History

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

@stratoula stratoula merged commit 7169714 into elastic:master Feb 16, 2021
stratoula added a commit to stratoula/kibana that referenced this pull request Feb 16, 2021
…for series with empty strings (elastic#90760)

* [TSVB] Fixes the legend for empty values and renders the metric, gauge charts

* Change i18n id

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
stratoula added a commit that referenced this pull request Feb 16, 2021
…for series with empty strings (#90760) (#91468)

* [TSVB] Fixes the legend for empty values and renders the metric, gauge charts

* Change i18n id

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@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 Visualization editors, elastic-charts and infrastructure v7.12.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TSVB] Series with empty fields are not treated correctly
4 participants