Learn R Programming

officer (version 0.7.6)

ooxml_chart_uris: 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"))

Value

a named list with elements rel_type and graphic_uri.

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).

Examples

Run this code
ooxml_chart_uris("drawingml")
ooxml_chart_uris("chartex")

Run the code above in your browser using DataLab