edge / account

Account portal for managing Edge services
Other
3 stars 1 forks source link

Minor bugs in server graphs #192

Closed annybs closed 1 year ago

annybs commented 1 year ago

Two related issues:

If a server is set to 0 (unlimited) bandwidth, the network graph displays without a Y-axis if not zoomed. This should be tweaked to use a default fallback value of 100Mbps instead of 0.

image

Second, if a graph's highest datapoint is close to the server's configured maximum, then zooming it actually zooms OUT, not in. It looks like chart.js automatically adds a little space at the top. This should be changed so the highest datapoint touches the top edge.

https://cdn.discordapp.com/attachments/876766057153560586/1103343252381388940/image.png

annybs commented 1 year ago

Fixed in https://github.com/edge/account/pull/190/commits/be3f71bb0564c93a6c81ffcea82112789d901994