dot-resolve_axis_label: Resolve an axis label from opts and spec

.resolve_axis_labelR Documentation

Resolve an axis label from opts and spec

Description

Three-way logic: NULL -> hide the axis label entirely " " -> use the column name from spec as the fallback string -> use the string as-is

Usage

.resolve_axis_label(opts_label, spec_col)

Arguments

opts_label

The value from hd_opts()$ylab or $xlab.

spec_col

The column name from hd_spec()$y or $x.

Value

Character string or NULL.


highdir documentation built on July 31, 2026, 5:06 p.m.