Customizing Chart Elements > Distribution Table Programming Considerations > Distribution Levels and Contour Styles |
3D Chart defines a contour style for each distribution level. This contour style specifies the width, color and pattern of the contour line associated with this contour style, and the color of the associated zone.
The ContourStyles collection defines the contour styles for a particular chart group. To retrieve the contour style for a particular distribution level, use the CalcIndex method. For example, the following retrieves the contour style for the third distribution level:
Dim Index As Long
With Chart3D1.ChartGroups(1).Contour
Index = .Styles.CalcIndex(3)
End With
For more information on programming ContourStyles, refer to Customizing ContourStyles.