The type LineGraph.DataRow.value is used ubiquitously and often with a lot of Obj.magic wrappers. This makes the UI/Graphing code very hard to understand. This PR is an attempt to make this code easier to understand by simplifying the shape of the timeseries data and restricting the use of Obj.magic only when passing the timeseries data to the Dygraph module.
The type LineGraph.DataRow.value is used ubiquitously and often with a lot of Obj.magic wrappers. This makes the UI/Graphing code very hard to understand. This PR is an attempt to make this code easier to understand by simplifying the shape of the timeseries data and restricting the use of Obj.magic only when passing the timeseries data to the Dygraph module.