USACE SWD 10: Design Document for Improved Plot Legend and Plot Layer Control / Estimates
- Phil Weinstein, CADSWES, 4-04-2017 (a).

  Basic
Features
Est.
Hours
Features
Requiring
Custom
Legend
Features
Requiring
Dynamic
Drawing
Estimate revision: 4-04-2017 (Phil).
2.1 6.0     Alternative Legend Placement:
Preliminary task: Selection GUI and persistence.
2.1 A 8.0    
  • Legend on the top, left, right, or not shown.
2.1 B 20.0    
  • Legend within the plot canvas, including control design. We would need to determine which QwtPlotLegendItem configuration capabilities to expose in the user interface.
2.1 C     32.0
  • Label curves in the plot (instead of a legend)
2.2       Legend Size Features
2.2 A 16.0     Configurable Fonts for each Plot (Legend Font and other fonts).
2.2 B 0.0*     Legend Item Spacing. *Recommendation: Just tighten up spacing, not as a configurable setting. Otherwise, 6.0 hours for setting widget and SlotPlot field with persistence.
2.3       Other Legend Appearance Features
2.3 A   20.0   Legend Items as Checkboxes
2.3 B 6.0     Persistence for Curve/Marker Shown State
2.3 C 6.0     Hiding the Legend Border
2.4 A   16.0   Legend Reordering: Drag and drop within the legend.
2.4 B       Legend Reordering: Configure Multiple Plots and Curves dialog.
... 1 16.0    
  • Drag and drop of selected items within the plot item list view.
... 2 8.0    
  • Move up and down widgets, operating on a multiple-item selection.
2.5 16.0     "Show in Legend" -- new curve and marker property, supported in the new Configure Multiple Plots and Curves Dialog.
2.6 8.0     "Layer" (Z-Value) Curve and Marker Property
Preliminary task: "Z value" property to both the GUI and "persistence" data models for curves and markers.
2.6 A 8.0    
  • Editable "Layer" column in new Configure Multiple Plots and Curves dialog
2.6 B 6.0    
  • "Layer" context submenu with "Move to Top", "Move Up", "Move Down", and "Move to Bottom" in the Legend Item context menus.
2.6 C     10.0
  • New Curves and Markers context menu (on the plot) with a "Layer" context submenu with "Move to Top", "Move Up", "Move Down", and "Move to Bottom" (Requires Hover state and ornamentation, 2.7 A).
2.7       Hover highlight and selection of curves and markers, with initial application to layering control (2.6-C).
2.7 A     24.0
  • Hover state and ornamentation.
2.7 B     10.0
  • Selected state and ornamentation.
2.8 16.0     Markers without lines; only a text label and an optional symbol.
2.9   32.0   Custom Legend Implementation -- needed for:
(2.3 A) Showing legend items as checkboxes.
(2.4 A) Drag and drop reordering within the legend.
  140.0 68.0 76.0 TOTAL (all specified features: 284 Hours)
[Estimate revision: 4-04-2017 (Phil)].

--- (end) ---