Axis Label
AxisLabel.RdConfiguration for axis labels. Combines label-specific positioning with text styling (flattened in to_list like LabelOption).
Usage
AxisLabel(
show = NULL,
inside = NULL,
rotate = NULL,
margin = NULL,
formatter = NULL,
show_min_label = NULL,
show_max_label = NULL,
hide_overlap = NULL,
interval = NULL,
text_style = NULL
)Arguments
- show
Optional Logical: Whether to show axis labels.
- inside
Optional Logical: Whether labels are inside the grid.
- rotate
Optional Numeric: Label rotation angle in degrees.
- margin
Optional Numeric
[0, Inf): Space between the label and axis line in pixels.- formatter
Optional Character or function: Label formatter.
- show_min_label
Optional Logical: Whether to show the label at the minimum end.
- show_max_label
Optional Logical: Whether to show the label at the maximum end.
- hide_overlap
Optional Logical: Whether to hide overlapping labels.
- interval
Optional Numeric or Character {"auto"}: Label interval.
- text_style
Optional TextStyle: Text appearance.
Details
Corresponds to AxisLabelBaseOption in src/coord/axisCommonTypes.ts (line 312).
ECharts docs: https://echarts.apache.org/en/option.html#xAxis.axisLabel