Type Property

Type property as it applies to the ChAxis object.

ChartAxisTypeEnum

ChartAxisTypeEnum can be one of these ChartAxisTypeEnum constants.
chCategoryAxis
chSeriesAxis
chTimescaleAxis
chValueAxis

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the ChChart and ChSeries objects.

ChartChartTypeEnum

ChartChartTypeEnum can be one of these ChartChartTypeEnum constants.
chChartTypeArea
chChartTypeArea3D
chChartTypeAreaOverlapped3D
chChartTypeAreaStacked
chChartTypeAreaStacked100
chChartTypeAreaStacked1003D
chChartTypeAreaStacked3D
chChartTypeBar3D
chChartTypeBarClustered
chChartTypeBarClustered3D
chChartTypeBarStacked
chChartTypeBarStacked100
chChartTypeBarStacked1003D
chChartTypeBarStacked3D
chChartTypeBubble
chChartTypeBubbleLine
chChartTypeColumn3D
chChartTypeColumnClustered
chChartTypeColumnClustered3D
chChartTypeColumnStacked
chChartTypeColumnStacked100
chChartTypeColumnStacked1003D
chChartTypeColumnStacked3D
chChartTypeCombo
chChartTypeCombo3D
chChartTypeDoughnut
chChartTypeDoughnutExploded
chChartTypeLine
chChartTypeLine3D
chChartTypeLineMarkers
chChartTypeLineOverlapped3D
chChartTypeLineStacked
chChartTypeLineStacked100
chChartTypeLineStacked1003D
chChartTypeLineStacked100Markers
chChartTypeLineStacked3D
chChartTypeLineStackedMarkers
chChartTypePie
chChartTypePie3D
chChartTypePieExploded
chChartTypePieExploded3D
chChartTypePieStacked
chChartTypePolarLine
chChartTypePolarLineMarkers
chChartTypePolarMarkers
chChartTypePolarSmoothLine
chChartTypePolarSmoothLineMarkers
chChartTypeRadarLine
chChartTypeRadarLineFilled
chChartTypeRadarLineMarkers
chChartTypeRadarSmoothLine
chChartTypeRadarSmoothLineMarkers
chChartTypeScatterLine
chChartTypeScatterLineFilled
chChartTypeScatterLineMarkers
chChartTypeScatterMarkers
chChartTypeScatterSmoothLine
chChartTypeScatterSmoothLineMarkers
chChartTypeSmoothLine
chChartTypeSmoothLineMarkers
chChartTypeSmoothLineStacked
chChartTypeSmoothLineStacked100
chChartTypeSmoothLineStacked100Markers
chChartTypeSmoothLineStackedMarkers
chChartTypeStockHLC
chChartTypeStockOHLC

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the ChErrorBars object.

ChartErrorBarTypeEnum

ChartErrorBarTypeEnum can be one of these ChartErrorBarTypeEnum constants.
chErrorBarTypeCustom
chErrorBarTypeFixedValue
chErrorBarTypePercent

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the ChScaling object.

ChartScaleTypeEnum

ChartScaleTypeEnum can be one of these ChartScaleTypeEnum constants.
chScaleTypeLinear
chScaleTypeLogarithmic

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the ChTrendline object.

ChartTrendlineTypeEnum

ChartTrendlineTypeEnum can be one of these ChartTrendlineTypeEnum constants.
chTrendlineTypeExponential
chTrendlineTypeLinear
chTrendlineTypeLogarithmic
chTrendlineTypeMovingAverage
chTrendlineTypePolynomial
chTrendlineTypePower

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the PageRelationship object.

DscPageRelTypeEnum

DscPageRelTypeEnum can be one of these DscPageRelTypeEnum constants.
dscLookup
dscSublist

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the PivotField object.

PivotFieldTypeEnum

PivotFieldTypeEnum can be one of these PivotFieldTypeEnum constants.
plTypeCalculated
plTypeCustomGroup
plTypeRegular
plTypeTimeDays
plTypeTimeHalfYears
plTypeTimeHours
plTypeTimeMinutes
plTypeTimeMonths
plTypeTimeQuarters
plTypeTimeSeconds
plTypeTimeUndefined
plTypeTimeWeekdays
plTypeTimeWeeks
plTypeTimeYears
plTypeUnknown
plTypeUserDefined

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the PivotFieldSet object.

PivotFieldSetTypeEnum

PivotFieldSetTypeEnum can be one of these PivotFieldSetTypeEnum constants.
plFieldSetTypeOther
plFieldSetTypeTime
plFieldSetTypeUnknown
plFieldSetTypeUserDefined

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the PivotTotal object.

PivotTotalTypeEnum

PivotTotalTypeEnum can be one of these PivotTotalTypeEnum constants.
plTotalTypeCalculated
plTotalTypeIntrinsic
plTotalTypeUserDefined

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the SchemaRowsource object.

DscRowsourceTypeEnum

DscRowsourceTypeEnum can be one of these DscRowsourceTypeEnum constants.
dscCommandFile
dscCommandText
dscProcedure
dscTable
dscView

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the Section object.

SectTypeEnum

SectTypeEnum can be one of these SectTypeEnum constants.
sectTypeCaption
sectTypeFooter
sectTypeHeader
sectTypeNone
sectTypeRecNav

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the Worksheet object.

XlSheetType

XlSheetType can be one of these XlSheetType constants.
xlWorksheet

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Type property as it applies to the Window object.

XlWindowType

XlWindowType can be one of these XlWindowType constants.
xlWorkbook

expression.Type

*expression   * Required. An expression that returns one of the above objects.

Example

This example sets the chart type for the specified chart.

Sub SetChartType()

   Dim chConstants

   Set chConstants = ChartSpace1.Constants

   ChartSpace1.Charts(0).Type = chConstants.chChartTypeLineMarkers

End Sub

Applies to | ChAxis Object | ChChart Object | ChErrorBars Object | ChScaling Object | ChSeries Object | ChTrendline Object | PageRelationship Object | PivotField Object | PivotFieldSet Object | PivotTotal Object | SchemaRowsource Object | Section Object | Window Object | Worksheet Object