OpenWaterFoundation / owf-app-infomapper-ng

Open Water Foundation InfoMapper web application for menu-driven maps and visualizations, using Angular
GNU General Public License v3.0
1 stars 2 forks source link

When graphing more than one time series, check units #297

Open smalers opened 3 years ago

smalers commented 3 years ago

When graphing more than one time series, the Y-axis (data values) needs to be correct for the data units. This is handled in TSTool by either using the units on the axis if units are the same, or showing the units in the legend for each time series if the units are different. Complex graphs with left and right y axis are similar, but checks are by axis. If only left y-axis is used, then all checks on are that axis.

At a minimum, an error should result with message to the console. However, setting the units in the legend should ideally be enabled so that the graph can be created. In this case, the magnitude of values is often very different and the creator of the graph will realize that it needs to be reconfigured.