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: Different field format on different series is ignored #74951

Closed
tiagoveigalazaro opened this issue Aug 13, 2020 · 1 comment · Fixed by #78138
Closed

TSVB: Different field format on different series is ignored #74951

tiagoveigalazaro opened this issue Aug 13, 2020 · 1 comment · Fixed by #78138
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@tiagoveigalazaro
Copy link

Kibana version: 7.8.1

Elasticsearch version: 7.8.1

Describe the bug:

When creating a TSVB visualization with two different series each with their field formatting, then the first format is used for both.

This is both visible on the

P.S.: would be pretty nifty if we could specify the Axis format independently of the series.

Steps to reproduce:

  1. Create a TSVB visualization
  2. Create a first series and customize its format
  3. Create a second series and customize its format with something different
  4. Switch the order and see that the format changes to the first one

Expected behavior:

I'm not sure this is a "feature not a bug" kind of situation, but in many cases we're comparing different metrics in the same context (in the example below CPU usage vs CPU Requests in a Kubernetes cluster) and without the format to separate both gets pretty hard to distinguish.

Screenshots:

Kibana TSVB field format

image

@timroes timroes added bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Aug 14, 2020
@elasticmachine
Copy link
Contributor

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

DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this issue Sep 22, 2020
DianaDerevyankina added a commit that referenced this issue Sep 29, 2020
* [TSVB] Different field format on different series is ignored

Closes #74951

* Replace formatter of Y axis with simple value instead of formatter of the first series

* Add a condition to Y-axis tickFormatter to display formatted value if there's only one series

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
DianaDerevyankina added a commit to DianaDerevyankina/kibana that referenced this issue Sep 29, 2020
…#78138)

* [TSVB] Different field format on different series is ignored

Closes elastic#74951

* Replace formatter of Y axis with simple value instead of formatter of the first series

* Add a condition to Y-axis tickFormatter to display formatted value if there's only one series

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
DianaDerevyankina added a commit that referenced this issue Sep 29, 2020
…#78730)

* [TSVB] Different field format on different series is ignored

Closes #74951

* Replace formatter of Y axis with simple value instead of formatter of the first series

* Add a condition to Y-axis tickFormatter to display formatted value if there's only one series

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
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants