Skip to contents

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.