Returns the specified Plot object in the object.
[ obPlotObject = ] Object.Plots ( vPlot )
The Plots property syntax has the following parts:
Name |
Type |
Description |
Object |
AChart |
AChart control |
obPlotObject |
Object |
APlot object |
vPlot |
Variant |
Either the name of the Plot object or the zero-based index of the object in the array. |
The following example changes the Plot object at the first location in the array of Plot objects in the AChart control to have the area filled between this plot and the BaseValue or BasePlot:
cht1.Plots(0).FillToBase=True
The following example changes the Plot object in the AChart control with the name "Beta" to have the area filled between this plot and the BaseValue or BasePlot:
cht1.Plots("Beta").FillToBase=True
The following example returns the "Beta" plot object in the AChart:
obchtPlotBeta = cht1.Plots("Beta")
APlot, Axes, InsertPlot, PlotAreaBorderStyle, PlotAreaFillColor, PlotAreaFillStyle, PlotAreaFillStyle, PlotAreaHeight, PlotAreaLeft, PlotAreaPicture, PlotAreaTop, PlotAreaWidth, PlotCount, RemovePlot