Enum vega_lite_4::Translate
source · pub enum Translate {
Bool(bool),
String(String),
}
Expand description
When truthy, allows a user to interactively move an interval selection back-and-forth.
Can be true
, false
(to disable panning), or a Vega event stream
definition which must include a start
and end event to trigger continuous panning.
Default value: true
, which corresponds to [mousedown, window:mouseup] > window:mousemove!
which corresponds to clicks and dragging within an interval selection
to reposition it.
See also: translate
documentation.
When truthy, allows a user to interactively resize an interval selection. Can be true
,
false
(to disable zooming), or a Vega event stream
definition. Currently, only wheel
events are supported.
Default value: true
, which corresponds to wheel!
.
See also: zoom
documentation.
Controls whether data values should be toggled or only ever inserted into multi
selections. Can be true
, false
(for insertion only), or a Vega
expression.
Default value: true
, which corresponds to event.shiftKey
(i.e., data values are
toggled when a user interacts with the shift-key pressed).
Setting the value to the Vega expression "true"
will toggle data values without the
user pressing the shift-key.
See also: toggle
documentation.