Enabling 3D on your Chart Controller
In this tutorial you will learn how to modify a chart to be three-dimensional. This tutorial will use the basic chart you created using the Creating A Basic Chart Tutorial.
Making Your First 3D Chart
Enabling the 3D Settings
- With your basic chart open and selected, open the ChartAreas Collection Editor.
- Select ChartArea1, at the top of the properties menu is a 3D category, expand Area3DStyle, and set the following properties to the values below.
We chose Server Intellect for its dedicated servers, for our web hosting. They have managed to handle virtually everything for us, from start to finish. And their customer service is stellar.
Property | Value |
---|---|
Enable3D | True |
LightStyle | Realistic |
- Select ChartArea2, at the top of the properties menu is a 3D category, expand Area3DStyle, and set the following properties to the values below.
Property | Value |
---|---|
Enable3D | True |
LightStyle | Realistic |
WallWidth | 3 |
Rotation | 20 |
Modifying Custom Properties
- Open your Series Collection Editor for the chart control. Select Series 1 and change the ChartType to Pyramid. We now have a 3D shape graph.
- Now select BarChart, at the bottom of the properties windows is the category Misc. Expand the CustomProperties property within the Misc category. Change the DrawingStyle to Cylinder. Click OK, and run your application.
We are using Server Intellect and have found that by far, they are the most friendly, responsive, and knowledgeable support team we've ever dealt with!
Success!
Download AssetsYou have learned how to successfully implement a 3D chart control into your ASP.NET Web Site/Application. Now you have even more interesting ways to display your data!