Line Chart widget becomes cluttered with 50+ dots
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:
- Navigate to an instance of OpenRemote with for example 100 datapoints on a single asset.
- Go the Insights page, and create a dashboard with a line chart of that particular attribute.
- If more than 50 (or 100) datapoints are shown within the selected timeframe, you can see the issue.
Screenshots
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
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.