Enum vega_lite_4::Baseline
source · pub enum Baseline {
Alphabetic,
Bottom,
LineBottom,
LineTop,
Middle,
Top,
}
Expand description
Vertical text baseline of axis tick labels, overriding the default setting for the
current axis orientation. One of "alphabetic"
(default), "top"
, "middle"
,
"bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and "line-bottom"
values
operate similarly to "top"
and "bottom"
, but are calculated relative to the
lineHeight rather than fontSize alone.
Vertical text baseline for axis titles. One of "alphabetic"
(default), "top"
,
"middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.
The position of the baseline of legend label, can be "top"
, "middle"
, "bottom"
, or
"alphabetic"
.
Default value: "middle"
.
Vertical text baseline for legend titles. One of "alphabetic"
(default), "top"
,
"middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.
Default value: "top"
.
For text marks, the vertical text baseline. One of "alphabetic"
(default), "top"
,
"middle"
, "bottom"
, "line-top"
, "line-bottom"
, or an expression reference that
provides one of the valid values. The "line-top"
and "line-bottom"
values operate
similarly to "top"
and "bottom"
, but are calculated relative to the lineHeight
rather than fontSize
alone.
For range marks, the vertical alignment of the marks. One of "top"
, "middle"
,
"bottom"
.
Note: Expression reference is not supported for range marks.
Vertical text baseline for title and subtitle text. One of "alphabetic"
(default),
"top"
, "middle"
, "bottom"
, "line-top"
, or "line-bottom"
. The "line-top"
and
"line-bottom"
values operate similarly to "top"
and "bottom"
, but are calculated
relative to the lineHeight rather than fontSize alone.