add a chart as a new shape in the current slide.
These functions are deprecated, function ph_with.ms_chart
should
be used instead.
ph_with_chart(x, chart, type = "body", index = 1)ph_with_chart_at(x, chart, left, top, width, height)
an rpptx object
ms_chart
object
placeholder type
placeholder index (integer). This is to be used when a placeholder type is not unique in the current slide, e.g. two placeholders with type 'body'.
location of chart on the slide
Height and width in inches.