CUAHSI / HydroDesktop

HydroDesktop is a free and open source GIS enabled desktop application that helps you search for, download, visualize, and analyze hydrologic and climate data registered with the CUAHSI Hydrologic Information System. HydroDesktop is part of the legacy CUAHSI toolkit and is not under active development. Click the "releases" link below to download the latest installer for Microsoft Windows.
73 stars 20 forks source link

Change units on graphs #20

Open xhqiao89 opened 7 years ago

xhqiao89 commented 7 years ago

nmhydro[CodePlex]
The prerequisite for this feature is implementing feature 8377 (Add support for unit conversion). This feature should be implemented as a quotChange Unitsquot ribbon button in the Graph tab. When the user clicks quotChange Unitsquot a new form is displayed. This form shows the list of all current variables. For each variable, it shows the current unit and a quotnew unitquot drop down. The quotnew unitquot drop down is populated with all units to which the current unit can be converted. For example if the current unit is meter then the list contains values such as millimeter, centimeter, kilometer, inch, foot, yard, mile..

When the user selects one of the options, the graphs for the selected variable are re-drawn using the new units and any future graphs of series with the selected variable will also be displayed using the selected units.

[Reported originally by Stephen]

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
moved planned release to 2.0

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
this requires that the UnitConversions table is populated with conversion factors between all supported (ODM-controlled vocabulary) variables.

xhqiao89 commented 7 years ago

jirikadlec2[CodePlex]
The second part of this feature request has been moved to separate item 8302

A related function would be to save the format of a graph. HD would remember the line widths, scales, etc. Could be handy when creating graphs every month as new data is coming in.