Customizing Selection MarkEdit this page
Every interval selection also adds a rectangle mark to the visualization, to depict the extents of the selected region. The appearance of this mark can be customized with the following properties, specified under
The fill color of the interval mark.
The fill opacity of the interval mark (a value between 0 and 1).
The stroke color of the interval mark.
The stroke opacity of the interval mark (a value between 0 and 1).
The stroke width of the interval mark.
An array of alternating stroke and space lengths, for creating dashed or dotted lines.
The offset (in pixels) with which to begin drawing the stroke dash array.
For example, the spec below imagines two users, Alex and Morgan, who can each drag out an interval selection. To prevent collision between the two selections, Morgan must press the shift key while dragging out their interval (while Alex must not). Morgan’s interval is depicted with the default grey rectangle, and Morgan’s with a customized red rectangle.