OpenSearch-Dashboards
OpenSearch-Dashboards copied to clipboard
[BUG] The line chart might clip or fail to display points at the top of the range
Description of the bug
While creating line charts in OpenSearch Dashboards, I noticed that lines or points can sometimes lie at the very edge of the graph, either at the high or low end of the x-axis or y-axis. This can make the charts difficult to read, especially when there is only one data point. Please see the screenshots below.
Steps to reproduce:
- load some data for a short time
- Create a Line visualization on that data. Select a large timespan and large interval so you only have 1 data point. I don't know if this is really required. It might be that there can be multiple data points and the highest ones will be clipped or missing
Expected behavior To make the chart more readable, the limits/boundaries of the graph should automatically be increased so that data is easily readable.
OpenSearch Version 2.8.0
Dashboards Version 2.8.0
Plugins
All plugins are enabled
Screenshots
Host/Environment (please complete the following information):
- OS: Windows
- Browser and version Chrome
- Server OS version: CentOS
- Browser OS version: Windows 10