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] Y-axis has number formatting not considering all series formatters in the group #83438

Merged
merged 4 commits into from
Nov 18, 2020

Conversation

DianaDerevyankina
Copy link
Contributor

@DianaDerevyankina DianaDerevyankina commented Nov 16, 2020

Closes #83427

Summary

Added check to find out if all the series have the same formatters to set this type of formatter to Y-axis too.

Before Y-axis was displaying simple values although all the series had the same percent formatters:
image

Now in the same case, Y-axis has percent formatter too:
image

If another series with default number formatter is added, Y-axis shows simple values:
image

The same result for bytes:
image

Checklist

Delete any items that are not applicable to this PR.

For maintainers

@DianaDerevyankina DianaDerevyankina added bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix v8.0.0 v7.11.0 labels Nov 16, 2020
@DianaDerevyankina DianaDerevyankina self-assigned this Nov 16, 2020
@apmmachine
Copy link
Contributor

apmmachine commented Nov 16, 2020

💚 Build Succeeded

@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 +140.0B

History

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

Copy link
Contributor

@alexwizp alexwizp left a comment

Choose a reason for hiding this comment

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

Code looks fine to me. @VladLasitsa could you please checkout and test it locally

Copy link
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

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

LGTM, testet it locally and bug is solved. Thank you @dziyanadzeraviankina 🙂

@DianaDerevyankina DianaDerevyankina marked this pull request as ready for review November 18, 2020 12:57
@DianaDerevyankina DianaDerevyankina requested a review from a team November 18, 2020 12:57
@DianaDerevyankina DianaDerevyankina added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Nov 18, 2020
@elasticmachine
Copy link
Contributor

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

@DianaDerevyankina DianaDerevyankina merged commit 957882a into elastic:master Nov 18, 2020
DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this pull request Nov 18, 2020
…ters in the group (elastic#83438)

* [TSVB] Y-axis has number formatting not considering all series formatters in the group

* Replace check for percent with a check for same formatters in common

* Remove unnecessary series check
DianaDerevyankina added a commit that referenced this pull request Nov 18, 2020
…ters in the group (#83438) (#83630)

* [TSVB] Y-axis has number formatting not considering all series formatters in the group

* Replace check for percent with a check for same formatters in common

* Remove unnecessary series check
phillipb added a commit to phillipb/kibana that referenced this pull request Nov 18, 2020
…o-node-details

* 'master' of github.com:elastic/kibana: (65 commits)
  update chromedriver dependency to 87 (elastic#83624)
  [TSVB] use new Search API for rollup search (elastic#83275)
  [TSVB] Y-axis has number formatting not considering all series formatters in the group (elastic#83438)
  [Logs UI] Update <LogStream /> internal state when its props change (elastic#83302)
  Add tag bulk action context menu (elastic#82816)
  [code coverage] adding plugin to flush coverage data (elastic#83447)
  [UsageCollection] Expose `KibanaRequest` to explicitly opted-in collectors (elastic#83413)
  Added eventBus to trigger and listen plotHandler event (elastic#83435)
  [Runtime fields] Editor phase 1 (elastic#81472)
  [Maps] Fix threshold alert issue resolving nested fields (elastic#83577)
  chore(NA): remove usage of unverified es snapshots (elastic#83589)
  [DOCS] Adds Elastic Contributor Program link (elastic#83561)
  Upgrade EUI to v30.2.0 (elastic#82730)
  Don't show loading screen during auto-reload (elastic#83376)
  Functional tests - fix esArchive mappings with runtime fields (elastic#83530)
  [deb/rpm] Create keystore after installation (elastic#76465)
  [rpm] Create default environment file at "/etc/sysconfig/kibana" (elastic#82144)
  [docker] removes workaround for missing crypto-policies-scripts subpackage (elastic#83455)
  [ML] Persisted URL state for the Data frame analytics jobs and models pages (elastic#83439)
  adds xpack.security.authc.selector.enabled setting (elastic#83551)
  ...
DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this pull request Nov 30, 2020
…ters in the group (elastic#83438)

* [TSVB] Y-axis has number formatting not considering all series formatters in the group

* Replace check for percent with a check for same formatters in common

* Remove unnecessary series check
DianaDerevyankina added a commit that referenced this pull request Nov 30, 2020
…ters in the group (#83438) (#84480)

* [TSVB] Y-axis has number formatting not considering all series formatters in the group

* Replace check for percent with a check for same formatters in common

* Remove unnecessary series check
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) release_note:fix Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.10.1 v7.11.0 v8.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[TSVB] Y-axis has number formatting not considering all series formatters in the group
7 participants