Project

General

Profile

Feature #1704

Focus-window selection in cartesian charts

Added by Duarte Cunha Leão almost 5 years ago. Updated almost 5 years ago.

Status:
In Progress
Priority:
Normal
Target version:
-
Start date:
2013-01-31
Due date:
% Done:

14%


Description

Ability to select a vertical section of a cartesian chart (when vertically oriented, or horizontal section, when horizontally aligned).

  • The focus window remains visible after selection, and if desired, able to be resized or moved.
  • It is configuration option if the focus window can be resized and/or moved by user interaction
  • The main aspects of the focus window can be styled through extension points
    • In particular, the fill color of the selected area and the fill color of the not-selected area must be styleable
  • Each chart has its own selection window, including small charts
  • When a selection operation (new, move, resize) ends (when a drag completes):
    • A focus window changed event is fired, informing about the currently selected base extent, containing the new window size (extent length) and start value, in base axis domain space (not in pixels).
    • The datums in the selected base extent replace the currently selected on that chart (replaces only the datums selected on the specific chart or small chart), firing a selection changed event
  • When a chart is rendered, the initial selection also fires events
  • The focus window and its start position can be constrained through an external function through base axis domain values.
    • Ex: Can only select windows of size "1 week" and these can only start at the 00:00 hours of a day
    • Charts with a discrete base axis should automatically constrain selection to base band boundaries and (for now?) cannot be additionally constrained through an extension function
  • The focus window selection mode is mutually exclusive with the existing "rubber-band and click selection" mode.
    • Rubber-banding is disabled (in plot, axes, legend)
    • Click-select is disabled (in plot, axes, legend)
  • The initially selected window is configurable through chart options
  • The focus window works on the base axis, irrespective of the chart orientation
  • The focus window should be sensible to an axis being reversed

Subtasks

Bug #1705: Focus-window should correctly support chart orientationsNew

Task #1706: Focus-window should not require a full re-render to be controllable from the outsideNew

Task #1707: Document the focus-window and expose it in CDENew

Feature #1708: Focus-window should be available also for the ortho axisNew

Feature #1709: Focus-window should be controllable by a separate scroll-bar-like controlNew

Feature #1710: Focus-window should be controllable with the keyboard and the mouse scroll-wheelNew

Task #1711: Focus-window initial developmentClosed

Also available in: Atom PDF