ooxml_chart_uris: URIs for chart relationships in xlsx drawings

View source: R/read_xlsx.R

ooxml_chart_urisR Documentation

URIs for chart relationships in xlsx drawings

Description

Returns the pair of URIs needed by xlsx_drawing to embed a chart into a sheet, keeping the relationship type and graphic URI consistent so Excel opens the file without repair.

Usage

ooxml_chart_uris(kind = c("drawingml", "chartex"))

Arguments

kind

chart family. "drawingml" covers classic charts (bar, line, pie, scatter, area, bubble, radar, stock). "chartex" covers the newer family (boxplot, funnel, histogram, pareto, sunburst, treemap, waterfall).

Value

a named list with elements rel_type and graphic_uri.

Examples

ooxml_chart_uris("drawingml")
ooxml_chart_uris("chartex")

officer documentation built on July 16, 2026, 5:09 p.m.