Kibana: TSVB Yaxis min value defaults to zero - Data binding not working with filter

Created on 17 Dec 2019  路  1Comment  路  Source: elastic/kibana

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.
  1. 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

:KibanaApfix-it-week ElasticCharts TSVB KibanaApp bug regression

Most helpful comment

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

>All comments

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

treussart picture treussart  路  3Comments

bhavyarm picture bhavyarm  路  3Comments

spalger picture spalger  路  3Comments

celesteking picture celesteking  路  3Comments

LukeMathWalker picture LukeMathWalker  路  3Comments