_Chart.ApplyCustomType(XlChartType, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Applies a standard or custom chart type to a chart.
public void ApplyCustomType (Microsoft.Office.Interop.Excel.XlChartType ChartType, object TypeName);
Public Sub ApplyCustomType (ChartType As XlChartType, Optional TypeName As Object)
Parameters
- ChartType
- XlChartType
Required XlChartType. A standard chart type.
- TypeName
- Object
Optional object (used only with a Chart object). The name of the custom chart type if ChartType
specifies a custom chart gallery.