pacificclimate / scip-frontend

Salmon Climate Impacts Portal
GNU General Public License v3.0
1 stars 1 forks source link

Allow user to toggle between outlet data and region data in graphs #60

Closed corviday closed 6 months ago

corviday commented 8 months ago

@mschnorb has requested the ability for users to switch between viewing indicator data averaged across the entire selected region, and indicator data at the outlet of the region.

This should be fairly straightforward; just add a switch to the AreaDisplay component, disabled if the outlet is unknown, and use Zustand to transmit it to the DataDisplay components.