_Chart.ChartType Property

Returns or sets the chart type.

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 _Chart
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

_Chart Interface

_Chart Members

Microsoft.Office.Interop.Excel Namespace