Elm-Vega Interaction Tests

Direct Selection

Single selection: Click on line to highlight.
Multiple selection: Shift-click on lines to highlight.
Nearest point projected to all points with same attribute.
Interval selection projected to x channel (time).
Interval selection initialised in both x and y extents.
Interval selection initialised in y extent only and therefore implicitly projected across the x channel.
Interval selection initialised in x extent only and explicitly projected across the y Channel.
Interval selection with only 2013 initialised.
Bind to x-scale (temporal zooming)
Bind to x and y scales (graphic zooming)

Legend Selection

Selection of items via clicking on legend.
Selection of items via double clicking on its legend
Two-way legend - chart binding: Double click on legend or single click on chart

Indirect Selection

Selection of crime type by radio button.
Filtering by crime rate via min and max sliders

Lookup Selection

Lookup selection to add to primary data source.

Selection Cursor

A line chart with text cursor to indicate the brush selection. The cursor changes to pointer on the mark as it can be moved with drag and drop.

Magnifier

2d selection projection to provide overview-detail linked views.

Interval selections over geo data

Highlight points in a geo-interval selection

Tooltips

Tooltips in 'lower' layer (counties) that overlap with upper layer (states). Should show 4-5 digit county IDs.

Radio and Select inputs

Radio buttons with labels that are distinct from their actual options.
Selection labels (Solid, Dotted, Dashed) differ from their value ([0],[2,2],[8,8]).
Radio labels (Light, Muted, Dark) differ from their value ("black","rgb(255,250,245)","rgb(40,0,0)").
Checkbox to allow interactive selection of domain via `doExpr` to perform zooming.

Source