-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Description
In case of selecting an area, the markers ourside of the drawn area are faded. It's achieved by lowering glyph opacities. It works well in the special case when there isn't significant marker overlap. 2-3 overlapping transparent points however look like a single, fully opaque point as if inside the selection box.
Wondering about how best to solve it at some point as we have some more general issues pertaining crossfilter and other differential styling.
Example animgif explanation: first there's the current box select at work; then, upon release, the style is persisted with a crossfilter
approach that's item 2 below.
Options, weaknesses:
- Leave it as it is: above problem
- Lower the opacity for the entire trace: then a new trace (or other mechanism) must draw salient points over the base layer, which requires runtime trace addition (traces up to this point, with the exception of the
crossfilter
, are fully in the user's control); convoluted in the presence of multiple traces; lines can't be done to general satisfaction - Break up the original trace(s) to pairs: retained and excluded sets; style them differently: it complicates the trace logic as it adds and removes traces on the go, also impacting the original trace
- Superimpose an SVG mask over the area to be faded: the problem is, selection is based on mathematical points (eg. center of circular markers) but highlight / fade happens for the screenspace marker (ie. full circle). There may be partly overlapping circles, some of which fall inside the selection box/lasso, some of which don't.
Maybe it's been figured out or deemed unimportant, I'd be interested if it's a useful topic at all.
Metadata
Metadata
Assignees
Labels
No labels