PlotBy Property
Applies To
Application object.
Description
Returns or sets the way columns or rows are used as data series on the chart. Can be one of the following XlRowCol constants: xlColumns or xlRows. Read/write Long.
Example
This example causes the embedded chart to plot data by columns.
myChart.PlotBy = xlColumns