OpenSearch-Dashboards icon indicating copy to clipboard operation
OpenSearch-Dashboards copied to clipboard

[BUG] The line chart might clip or fail to display points at the top of the range

Open rayangou opened this issue 1 year ago • 1 comments

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

image_720

Host/Environment (please complete the following information):

  • OS: Windows
  • Browser and version Chrome
  • Server OS version: CentOS
  • Browser OS version: Windows 10

rayangou avatar Jun 24 '24 20:06 rayangou