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 chart doesn't render when axis min is outside data range #73167

Closed
lukasolson opened this issue Jul 23, 2020 · 2 comments · Fixed by #75700
Closed

TSVB chart doesn't render when axis min is outside data range #73167

lukasolson opened this issue Jul 23, 2020 · 2 comments · Fixed by #75700
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

@lukasolson
Copy link
Member

Kibana version: 7.9

Elasticsearch version: 7.9

Describe the bug:

When using TSVB, and setting the axis min/max, if the min is set to lower than the max, you get an error message and the chart doesn't render:

node_modules\@elastic\charts\dist\chart_types\xy_chart\domains\y_domain.js:113 Uncaught Error: custom yDomain for yaxis_2e91f9d0-cd39-11ea-8e53-15bf965b677f_main_group is invalid, custom min is greater than computed max

Steps to reproduce:

  1. Create a new TSVB chart
  2. Click on Panel options, and set the Axis min to something greater than the max from the dataset (or set the min to something greater than the max)

Expected behavior:

An empty chart would render (as when you set the min/max to something outside the data range

Screenshots (if relevant):

Prior to setting the min:

image

After setting the min:

image

@lukasolson lukasolson 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 Jul 23, 2020
@elasticmachine
Copy link
Contributor

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

@alexwizp
Copy link
Contributor

It looks like this issue comes from Elastic Charts, we should be able to set the minimum y-axis value without specifying a max value @nickofthyme

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.

5 participants