openremote icon indicating copy to clipboard operation
openremote copied to clipboard

Line Chart widget becomes cluttered with 50+ dots

Open MartinaeyNL opened this issue 4 weeks ago • 2 comments

Description

When more than 50 datapoints are shown, the chart becomes cluttered with all the visual dots. It's more common since we recently doubled the amount of default datapoints on the chart.

We should, based on the amount of datapoints shown, remove the dots from that specific line.

To reproduce

Steps to reproduce the behavior:

  1. Navigate to an instance of OpenRemote with for example 100 datapoints on a single asset.
  2. Go the Insights page, and create a dashboard with a line chart of that particular attribute.
  3. If more than 50 (or 100) datapoints are shown within the selected timeframe, you can see the issue.

Screenshots

Image

MartinaeyNL avatar Dec 03 '25 10:12 MartinaeyNL

It's also worth adjusting the size of the points, since they seem to be larger after the ECharts upgrade. Left = new version, Right = old version

Image

MartinaeyNL avatar Dec 03 '25 10:12 MartinaeyNL

the or-attribute-history component has a mechanism in place to hide symbols above a certain amount of datapoints, might be worth checking that out, it was in or-chart aswell originally.

Hackerberg43 avatar Dec 08 '25 09:12 Hackerberg43