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 Yaxis min value defaults to zero - Data binding not working with filter #53257

Closed
Paul-de-Barbeyrac opened this issue Dec 17, 2019 · 1 comment · Fixed by elastic/elastic-charts#510 or #54314
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ElasticCharts Issues related to the elastic-charts library Feature:TSVB TSVB (Time Series Visual Builder) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@Paul-de-Barbeyrac
Copy link

Kibana version:
7.5.0

Elasticsearch version:
7.5.0

Server OS version:
Windows 2012 R2

Browser version:
Chrome Version 79.0.3945.79

Original install method (e.g. download page, yum, from source, etc.):
Source file

Describe the bug:
In the Time Series Visual Builder, axis min value automatic scaling is not working when a filter is applied. Instead of binding to the data, it reverts to zero.

Steps to reproduce:

  1. Plot a line graph with Time Series Visual Builder without specifying axis min and axis max value.

  2. Apply a filter on your data, either with panel options->panel filter, or with control vizualization (experimental).

Expected behavior:

  1. Works as expected without filter. The scale automatically adjusts to the data both for min and max with a padding. It results in a nice "zoomed in" vizualization.

Without filter

  1. Does not work with a filter applied : y axis max adjusts fine binding to the data but the y axis min value starts at 0 instead of binding to the data filtered.

With filter

In the example above, the y axis min value should start somewhere around 1000 not 0.

Capture

This affects user experience who cannot see clearly changes due to improper automatic scaling for the y min axis as seen on the screenshot above.

Errors in browser console (if relevant):
N/A

Provide logs and/or server output (if relevant):
N/A

Any additional context:
This behavior was not seen on Kibana 7.3.1. We are facing this issue after updating to 7.5.0

Thank you

@Bargs Bargs added Feature:TSVB TSVB (Time Series Visual Builder) Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Dec 17, 2019
@elasticmachine
Copy link
Contributor

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

@markov00 markov00 added the Feature:ElasticCharts Issues related to the elastic-charts library label Dec 18, 2019
@markov00 markov00 added bug Fixes for quality problems that affect the customer experience regression labels Jan 2, 2020
@markov00 markov00 self-assigned this Jan 2, 2020
@nickofthyme nickofthyme self-assigned this Jan 7, 2020
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:ElasticCharts Issues related to the elastic-charts library Feature:TSVB TSVB (Time Series Visual Builder) regression Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
5 participants