Skip to content

TSVB Yaxis min value defaults to zero - Data binding not working with filter #53257

@Paul-de-Barbeyrac

Description

@Paul-de-Barbeyrac

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

Metadata

Metadata

Labels

Feature:ElasticChartsIssues related to the elastic-charts libraryFeature:TSVBTSVB (Time Series Visual Builder)Team:VisualizationsTeam label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t//bugFixes for quality problems that affect the customer experienceregression

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions