WHOIGit / ifcbdb

IFCB dashboard
MIT License
8 stars 9 forks source link

rois/mL chart y axis should scale dynamically #353

Closed srstsavage closed 2 years ago

srstsavage commented 2 years ago

It looks like the y-axis for the rois/mL chart is set statically to 0-8000. Ideally the axis would adjust dynamically to the data being plotted.

https://github.com/WHOIGit/ifcbdb/blob/4370a9f950ba8bad387222a888a6b7957323c580/ifcbdb/assets/js/site.js#L232

image

joefutrelle commented 2 years ago

We made a decision to fix the y-axis scaling to allow the user to visually compare trends while zooming in and out on the timeline, without having to constantly refer to a changing y axis scale.

210 is uncompleted work that would enable auto-scaling while retaining fixed scaling as the default.

srstsavage commented 2 years ago

Thanks, closing as a duplicate of #210