base_fig: Build a Blank Backend Canvas

View source: R/base-figure.R

base_figR Documentation

Build a Blank Backend Canvas

Description

Constructs the empty backend object (ggplot or highchart) with all chart-level options applied from spec and opts. Called by the backend engines; you rarely need this directly.

Usage

base_fig(spec, opts, backend)

Arguments

spec

A hd_spec object.

opts

A hd_opts object.

backend

Character. Backend name.

Value

A ggplot or highchart object.


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