Ghi
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Quyền truy cập vào trang này yêu cầu sự cho phép. Bạn có thể thử thay đổi thư mục.
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.
Syntax
expression.PlotBy
expression A variable that represents a Chart object.
Remarks
For PivotChart reports, this property is read-only and always returns xlColumns.
Example
This example causes the embedded chart to plot data by columns.
Worksheets(1).ChartObjects(1).Chart.PlotBy = xlColumns
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.