Closed rabdill closed 1 year ago
The way I did this was to make sure everything was always in view. I've changed it to static locally and will open a PR soon. It looks nicer, but with the tradeoff that one of the longer x-axis labels may get cut off on smaller screens.
The "By Phylum" prevalence chart appears to resize itself slightly when the width of the x-axis changes. This isn't an issue when switching between the unfiltered chart and several of the regional ones, but it's more obvious when choosing:
It makes sense that the scale of the x-axis would change, but it looks like small changes to the width of the chart also impact the height of the chart, which is more noticeable. Not a huge deal, but if there's a straightforward way to stay within a static box, that could help.