Description Usage Arguments Value Author(s) Examples
It fetches meta data from a msoChart object and then reset the series one by one. The msoChart will be visually modified.
1 2 3 4 5 6 7 8 | set_msochart_scale(oChart, changeScale = TRUE, returnValue = FALSE,
...)
setMsoChartSeries(oChart, orient = c("vertical", "horizontal"),
autoFill = FALSE, ...)
set_msochart_series(oChart, orient = c("vertical", "horizontal"),
autoFill = FALSE, ...)
|
oChart |
msoChart object |
... |
other arguments, e.g., |
orient |
character, "vertical" or "horizontal". How the series is generated. |
autoFill |
logical, whether fill the series with the entire row/col. Default FALSE |
Nothing
Yiying Wang, wangy@aetna.com
1 2 3 4 5 6 7 8 9 10 | ## Not run:
ppt <- RDCOMClient::COMCreate("Powerpoint.Application")
pres <- ppt$Presentations()$Open(<some ppt file>)
slide <- pres$Slides(2) # the 2nd slide
shape <- slide$Shapes(3) # the 3rd shape
if (shape[['HasChart']] == -1) { # if the shape contains msoChart
chart <- shape[['Chart']]
setMsoChartSeries(chart, orient="vertical", autoFill=TRUE)
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.