USGS-WiM / StreamStats

USGS StreamStats
https://streamstats.usgs.gov/ss/
Other
15 stars 7 forks source link

Fixes #1925 Stage vs. Discharge Plot - Fix plot scale so all values are shown in linear scale #1974

Closed maggiejaenicke closed 6 months ago

maggiejaenicke commented 6 months ago

Plots that only have peak data were having an issue with the linear scale because the yAxis tickPositioner for the Stage vs. Discharge plot was only using the USGS Measured data to gather min and max. I added a check for peak data values, which for some of these gages was nonexistent, so now it uses whichever data is available or the overall min/max.

Gages to test that previously showed nothing in linear scale:

Closes #1925

amedenblik commented 6 months ago

Deployed to https://dev.streamstats.usgs.gov/gageplots