Enum vega_lite_4::LabelOverlapUnion
source · pub enum LabelOverlapUnion {
BackgroundExprRef(BackgroundExprRef),
Bool(bool),
Enum(LabelOverlapEnum),
}
Expand description
The strategy to use for resolving overlap of axis labels. If false
(the default), no
overlap reduction is attempted. If set to true
or "parity"
, a strategy of removing
every other label is used (this works well for standard linear axes). If set to
"greedy"
, a linear scan of the labels is performed, removing any labels that overlaps
with the last visible label (this often works better for log-scaled axes).
Default value: true
for non-nominal fields with non-log scales; "greedy"
for log
scales; otherwise false
.
The strategy to use for resolving overlap of labels in gradient legends. If false
, no
overlap reduction is attempted. If set to true
or "parity"
, a strategy of removing
every other label is used. If set to "greedy"
, a linear scan of the labels is
performed, removing any label that overlaps with the last visible label (this often works
better for log-scaled axes).
Default value: "greedy"
for log scales otherwise
true`.
Variants§
Trait Implementations§
source§impl Clone for LabelOverlapUnion
impl Clone for LabelOverlapUnion
source§fn clone(&self) -> LabelOverlapUnion
fn clone(&self) -> LabelOverlapUnion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more