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:
- Create a new TSVB chart
- 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:

After setting the min:

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:
Steps to reproduce:
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:
After setting the min: