次の方法で共有


Chart.ChartType Property (Word)

Returns or sets the chart type. Read/write XlChartType.

Version Information

Version Added: Word 2007

Syntax

expression .ChartType

expression A variable that represents a Chart object.

Remarks

Some chart types are not available for PivotChart reports.

Example

The following example sets the bubble size in chart group one to 200% of the default size if the chart is a 2-D bubble chart.

With ActiveDocument.InlineShapes(1).Chart 
 If .ChartType = xlBubble Then 
 .ChartGroups(1).BubbleScale = 200 
 End If 
End With

See Also

Concepts

Chart Object Members

Chart Object