[Plot] Fix refactoring issues

Fix issues related to refactoring of view-level
to subplot-level behavior, such that previous
functionality is restored. This refactoring
supports introduction of a stacked-plot mode,
for WTD-625.
This commit is contained in:
Victor Woeltjen
2014-12-10 20:04:10 -08:00
parent 784b2b6186
commit eb90a3eeba
3 changed files with 7 additions and 4 deletions

View File

@ -22,7 +22,7 @@ define(
// Track the domain offset, used to bias domain values
// to minimize loss of precision when converted to 32-bit
// floating point values for display.
domainOffset = prepared.getDomainOffset();
subplot.setDomainOffset(prepared.getDomainOffset());
// Draw the buffers. Select color by index.
subplot.getDrawingObject().lines = prepared.getBuffers().map(function (buf, i) {