# Adding Colors to the Meshed and Shaded Charts

## Content



When the [IsShaded](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DElevation.IsShaded.html) and the [IsMeshed](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DElevation.IsMeshed.html) properties are both set to **True** you can add distinct colors to the top and bottom for the meshed and shaded charts for the 3D Bar or Surface type.

The [MeshTopColor](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DElevation.MeshTopColor.html) and [MeshBottomColor](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DElevation.MeshBottomColor.html) properties set the top and bottom colors for the Surface charts and set the top colors for the Bar charts.

In this example the MeshTopColor and MeshBottomColor are set to DarkRed and DarkBlue colors to distinguish between the top and bottom surface of the meshed part of the Surface and Bar charts. Also the [ShadedTopColor](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DElevation.ShadedTopColor.html) and [ShadedBottomColor](/componentone/api/win/online-chart3d/dotnet-framework-api/C1.Win.C1Chart3D.4.8/C1.Win.C1Chart3D.Chart3DElevation.ShadedBottomColor.html) are set to MistyRose and LightBlue to distinguish between the top and bottom surface of the shaded part of the Surface and Bar charts.

| Surface Example | Bar Example |
| --- | --- |
| ![](https://cdn.mescius.io/document-site-files/images/46396fd1-914e-43da-9cb0-e66dcc0ae61b/imagesext/image12_49.png) | ![](https://cdn.mescius.io/document-site-files/images/46396fd1-914e-43da-9cb0-e66dcc0ae61b/imagesext/image12_50.png) |


> type=note
> **Note**: In the Bar chart above, the colors for the MeshBottomColor and the ShadedBottomColor properties are not visible on the bottom surface because of the Bar chart's present rotation.

## See Also

[Creating Transparency for the Meshed and Shaded Charts](/componentone/docs/win/online-chart3d/3dchartfundamentals/meshedandshadedchart/creatingtransparency)