[Plot] Begin integrating with telemetry handler

Miscellaneous tweaks and fixes to begin showing merged
real-time and historical telemetry, WTD-806.
This commit is contained in:
Victor Woeltjen
2015-04-17 14:53:21 -07:00
parent 5cc89e7983
commit 8ba9c0553a
6 changed files with 54 additions and 30 deletions

View File

@ -75,10 +75,8 @@ define(
buffer[index * 2 + 1] = rangeValue;
// Track min/max of range values (min/max for
// domain values can be read directly from buffer)
rangeExtrema = [
Math.min(rangeExtrema[0], rangeValue),
Math.max(rangeExtrema[1], rangeValue)
];
rangeExtrema[0] = Math.min(rangeExtrema[0], rangeValue);
rangeExtrema[1] = Math.max(rangeExtrema[1], rangeValue);
}
return {