Table of contents
TOC
折叠目录
展开目录

Point.SecondaryPlot 属性 (PowerPoint)Point.SecondaryPlot Property (PowerPoint)

office 365 dev account|上次更新日期: 2018/3/13
|
2 参与人员

如此如果数据点位于复合饼图或复合饼图条形图表的第二部分中。读/写boolean 类型的值True if the point is in the secondary section of either a pie-of-pie chart or a bar-of-pie chart. Read/write Boolean.

语法Syntax

表达式SecondaryPlotexpression. SecondaryPlot

表达式_一个表示对象的变量。_expression A variable that represents a Point object.

注解Remarks

该属性仅适用于复合饼图或复合条饼图中的数据点。This property applies only to points on pie-of-pie charts or bar-of-pie charts.

示例Example

请注意 尽管下面的代码适用于 Microsoft Word 中,您可以随时修改将其应用到 PowerPoint。Note Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

以下示例将第四个数据点移动到图表的从属部分。必须在复合饼图或复合条饼图上运行该示例。The following example moves point four to the secondary section of the chart. You must run this example on either a pie-of-pie chart or a bar-of-pie chart.

With ActiveDocument.InlineShapes(1)

    If .HasChart Then

        With .Chart.SeriesCollection(1)

            .Points(4).SecondaryPlot = True

        End With

    End If

End With

另请参阅See also

概念Concepts

Point 对象Point Object

© 2018 Microsoft