NHMDenmark / DaSSCo-asset-service

DaSSCo asset service is part of DaSSCo storage system
0 stars 0 forks source link

Statistic Dashboard - Graph is "too responsive" #56

Closed Grand666 closed 3 months ago

Grand666 commented 4 months ago

We're having issues when zooming on the graph, it seems to be way too responsive. And it's very difficult to to "return to the original zoom lvl", there's a button for it but it doesn't work for custom date ranges.

Not zoomed Image

Zoomed out, and then in again Image

I see 2 ways to fix this, either changing the zoom mode to 'x' instead of 'xy'. That way you wont be able to zoom on the Y axis and only zoom on the X axis, we can't slow it down but this way it's still useable.

The other way is to disabling zoom on the graph view.

Let's try the first option, and show it to Bhupjit or Pip. If it's still too aggressive then, I would suggest disabling it.

Acceptance Criteria

Nicolas-Northtech commented 3 months ago

Changed zoom to x axis, solves the issue with the graph going off-scale.