ChartType Property

Contained in the Chart object Sets/returns the type of chart that will be displayed on the control.

Syntax

chart.ChartType [= short ]

The ChartType property syntax has these parts:

Part  Description

chart  An object expression that evaluates to a Chart object.

short  A numeric expression (1-16) specifying chart type as described in settings.

Settings

The settings for short are:

Setting  Description

0  unknown

1  X-bar / Range chart

2  X-bar / Sigma chart

3  Individual-X / Moving Range chart

4  (reserved; unused at this time)

5  Run Chart

6  Pareto Chart

7  Moving Average / Moving Range

8  Moving Average / Moving Sigma

9  (reserved; unused at this time)

10  P chart

11  U chart

12  NP chart

13  C chart

14  Scatter Diagram

15  (reserved; unused at this time)

16  (reserved; unused at this time)

17  Box-Whisker

Remarks

The ChartType property must be set before invoking Recalculate to ensure the proper subgroup size is used.