Chart.PlotBy (PowerPoint)

Returns or sets the way columns or rows are used as data series on the chart.

Possible Values are xlColumns - The data series is in a row, xlRows - The data series is in a column.

The value of this property can be one of the following XlRowCol constants:

ActivePresentation.Slides(1).Shapes(1).Chart.PlotBy = xlColumns