Shapes.AddChart Method (PowerPoint)
Adds a chart to a presentation.
Syntax
expression .AddChart(Type, Left, Top, Width, Height)
expression An expression that returns a Shapes object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
Type |
Optional |
Varient |
Type of chart. |
Left |
Optional |
Single |
Left dimension. |
Top |
Optional |
Single |
Top dimension. |
Width |
Optional |
Single |
Width of the chart. |
Height |
Optional |
Single |
Height of the chart. |
Return Value
Shape