Commit Graph

236 Commits

Author SHA1 Message Date
Victor Woeltjen
b1158ce230 [Plot] Add JSDoc for stack plots
Add JSDoc for new classes introduced (and revised interfaces
exposed by existing classes) to support stacked plots,
WTD-625.
2014-12-12 14:37:06 -08:00
Victor Woeltjen
80852177c7 [Plot] Complete specs related to stacked mode
Add specs for SubPlot, which was introduced to support
presenting multiple plot areas within a single plot
view (stacked plots, WTD-625.)
2014-12-12 13:20:50 -08:00
Victor Woeltjen
c8c50f8fb1 [Plot] Add specs for plotting modes
Add specs for stacked/overlaid plot modes. WTD-625.
2014-12-12 12:56:26 -08:00
Victor Woeltjen
112d94e189 [Plot] Specs for PlotModeOptions
Add specs for PlotModeOptions, introduced to
allow switching between Stacked and Overlaid
mode for WTD-625.
2014-12-12 11:20:04 -08:00
Victor Woeltjen
7ea63fce8c [Plot] Add specs for PlotPanZoomStackGroup
Add specs to verify the behavior of PlotPanZoomStackGroup,
which is responsible for synchronizing the domain axis
between multiple sub-plots in a stacked plot view.
WTD-625.
2014-12-12 11:10:52 -08:00
Victor Woeltjen
a2d22a4558 [Plot] Restore coverage on PlotController
Restore full test coverage on PlotController after
refactoring for WTD-625, stacked plots.
2014-12-12 10:08:58 -08:00
Victor Woeltjen
4586146da2 [Plot] Remove failing specs
Remove specs which fail due to refactoring for
WTD-625.
2014-12-12 09:49:44 -08:00
Victor Woeltjen
a677ed258e [Plot] Add skeleton specs for stacked plots
Add skeleton specs for classes introduced to support
stacked plot mode, WTD-625.
2014-12-12 09:44:05 -08:00
Victor Woeltjen
06036ce8b3 [Plot] Restore range tick marks
Restore range tick marks; these were lost in refactoring
to support multiple subplots-per-view due to a missed
occurrence of an out-of-date interface usage. WTD-625.
2014-12-11 19:36:01 -08:00
Victor Woeltjen
188e98a78b [Plot] Update stacked plots immediately
When changes to pan-zoom bounds are made in one
subplot, this will effect the pan-zoom bounds of
other subplots. Ensure this occurs immediately.
WTD-625.
2014-12-11 19:33:09 -08:00
Victor Woeltjen
9c1d72f917 [Plot] Integrate PlotPanZoomStackGroup
Utilize PlotPanZoomStackGroup; that is, utilize changes
such that a set of pan-zoom stacks can be treated as one,
while their domain axis synchronizes, and their range
axis does not. WTD-625.
2014-12-11 19:21:52 -08:00
Victor Woeltjen
0ce0517e09 [Plot] Initially implement synced pan/zoom stack
Initially implement a synchronized pan/zoom stack,
which maintains the same domain axis bounds for all
subplots in a stacked plot view, but allows each to
have independent range axes. WTD-625.
2014-12-11 17:27:44 -08:00
Victor Woeltjen
9344809998 [Plot] Restrict hover coordinates
Only show hover coordinates in a stacked plot for
the plot which the user is specifically hovering
over. WTD-625.
2014-12-11 17:09:08 -08:00
Victor Woeltjen
1b6ce10dd9 [Plot] Change style when stacked
Change plot style when in stacked plot mode, such that
plots stack as expected. (Without this change, the
gl-plot class's height of 100% will cause all plots to
fill the full vertical space, effectively acting
overlaid.) WTD-625.
2014-12-11 17:02:07 -08:00
Victor Woeltjen
cd8deca1b3 [Plot] Add initial stack-plot implementation
Add initial implementation of stacked mode for
Plot view. Note that this will not stack correctly
due to markup/style issues. WTD-625.
2014-12-10 20:16:23 -08:00
Victor Woeltjen
eb90a3eeba [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.
2014-12-10 20:04:10 -08:00
Victor Woeltjen
784b2b6186 [Plot] Begin refactoring for stacked plots
Begin refactoring Plot view to support stacked plots;
separate out behavior which needs to occur per-plot
from area which should occur per-view, and add a
handler for the Overlay mode. WTD-625.
2014-12-10 19:51:27 -08:00
Victor Woeltjen
1c3d2d923f [Plot] Add notion of subplots to template
Add notion of subplots to the plot template; these
are elements within a stacked plot. WTD-625.
2014-12-10 18:55:47 -08:00
Victor Woeltjen
01f1a92d09 [Plot] Get/set from overlay switcher
Get/set mode from the plot mode switcher; only show
the switcher if there is more than one mode available
(which should only occur when there is more than one
telemetry object in the plot.) WTD-625.
2014-12-10 18:38:42 -08:00
Victor Woeltjen
3a0e80d360 [Plot] Add switcher for Stacked/Overlaid
Add switcher to handle changing between Stacked and Overlaid
plots. WTD-625.
2014-12-10 18:29:18 -08:00
Victor Woeltjen
622f1f8be7 [Plot] Add JSDoc
Add inline comments to Plot scripts. WTD-533.
2014-12-02 14:40:11 -08:00
Victor Woeltjen
870172ec6f [Plot] Complete specs for plot
Complete specs for transitioned plot view, WTD-533.
2014-12-02 11:08:21 -08:00
Victor Woeltjen
2f475fc17a [Plot] Fill in specs
Fill in specs for elements used by the PlotController
in order to improve coverage of the plot bundle.
WTD-533.
2014-12-02 10:11:46 -08:00
Victor Woeltjen
ae05ed903b [Plot] Add skeleton specs
Add skeleton specs for remaining plot scripts.
WTD-533.
2014-12-01 19:45:23 -08:00
Victor Woeltjen
86711735b7 [Plot] Organize plot elements
Place elements of the PlotController into a separate
directory inside of the source folder for the plot
plug-in, in preparation for review and integration.
Part of ongoing plot transition to Angular, WTD-533.
2014-12-01 18:21:51 -08:00
Victor Woeltjen
ad802e674e [Plot] Spec for PlotController
Fill in spec for PlotController, which is the primary
handler of logic associated with plot views, transitioned
for WTD-533.
2014-12-01 18:13:03 -08:00
Victor Woeltjen
c9300e8611 [Plot] Initial spec for PlotController
Add initial spec for PlotController, the main controller
to support the plot view. WTD-533.
2014-12-01 16:44:16 -08:00
Victor Woeltjen
e1298db760 [Plot] Separate out plot axis
Separate plot axis (as prepared for the plot's
Angular template) into its own script. WTD-533
2014-12-01 16:35:38 -08:00
Victor Woeltjen
bb708e9a05 [Plot] Separate out formatter
Separate out plot label formatter to simplify PlotController,
to simplify test and maintenance. WTD-533
2014-12-01 15:28:20 -08:00
Victor Woeltjen
5bfa9c76a7 [Plot] Separate out positioning
Separate out pixel-to-plot-coordinate conversion into its
own script, to simplify PlotController for testing and
maintainability. WTD-533.
2014-12-01 14:14:31 -08:00
Victor Woeltjen
1b4286344d [Plot] Separate out pan/zoom stack
Create a separate script/class for the pan-zoom stack,
to simplify PlotController for testability and
maintainability. WTD-533.
2014-12-01 13:48:38 -08:00
Victor Woeltjen
ac00c52589 [Plot] Rename plot preparer
Rename the script used to prepare plot data for
rendering. WTD-533.
2014-12-01 13:27:30 -08:00
Victor Woeltjen
f3b83e0db7 [Plot] Icons for plot controls
Add icons for plot pan/zoom controls, to step
back through or undo pan/zoom states. WTD-533.
2014-12-01 13:04:24 -08:00
Victor Woeltjen
7836fe5fbb [Plot] Make PlotPalette constructor-like
Make PlotPalette look like a constructor, in order
to remain consistent with code style guidelines.
WTD-533.
2014-12-01 10:16:59 -08:00
Victor Woeltjen
8cb3ce4fd9 [Plot] Rename GLPlot to GLChart
Rename the GLPlot script (which handles drawing
of lines/boxes to canvas elements) to GLChart,
to distinguish it from the broader plot view.
WTD-533.
2014-12-01 10:12:07 -08:00
Victor Woeltjen
b556b5e4f2 [Plot] Bring in scripts from sandbox branch
Bring in scripts for plotting from the sandbox
branch to begin transitioning/integrating plot
view. WTD-533.
2014-12-01 09:41:39 -08:00