[Plot] Fix bug for panels

Fix bug wherein number of points-to-plot is misreported
with multiple traces in a plot; clean up on modifications
to plot to self-cache streaming telemetry, to remove
other cache, WTD-751.
This commit is contained in:
Victor Woeltjen
2015-01-29 12:27:04 -08:00
parent 230ba3eb5c
commit a0137b341e
2 changed files with 10 additions and 5 deletions

View File

@ -194,7 +194,7 @@ define(
* @returns {number} the number of points in this buffer
*/
getLength: function (index) {
return lengthArray;
return lengthArray[index] || 0;
},
/**
* Update with latest data.