| 3D Contour Styles > Changing the Contour's Line Thickness and Color |
To change the line thickness or color for a contour line, change the Thickness and Color properties of the Chart3DLineStyle object. For example, the following statements change the second contour line to a green line:
To write code in Visual Basic
| Visual Basic |
Copy Code
|
|---|---|
C1Chart3D1.ChartGroups(0).Contour.Levels(1).Style.LineStyle.Color = Color.Green |
|
To write code in C#
| C# |
Copy Code
|
|---|---|
C1Chart3D1.ChartGroups[0].Contour.Levels[1].Style.LineStyle.Color = Color.Green; |
|
To revert to the default contour style behavior, invoke the Reset method. All contour styles will be reset to their default values.