Partager via


Series.ChartType Property

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

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property ChartType As XlChartType
    Get
    Set
'Usage
Dim instance As Series
Dim value As XlChartType

value = instance.ChartType

instance.ChartType = value
XlChartType ChartType { get; set; }

Property Value

Type: Microsoft.Office.Interop.Excel.XlChartType

Remarks

Some chart types aren’t available for PivotChart reports.

See Also

Reference

Series Interface

Series Members

Microsoft.Office.Interop.Excel Namespace