Upload
waddy-dzon
View
7
Download
0
Embed Size (px)
Citation preview
Home Library Learn Downloads Support
Visual Studio 2010
Search MSDN with Bing
MSDN Library
Development Tools and Languages
Visual Studio 2010
Visual Studio
Accessing Data in Visual Studio
Chart Controls
Getting Started
Tutorial: Changing to a 3D Chart
Sign in | Nederland - Nederlands | Preferences
Tutorial: Changing
to a 3D Chart (Chart Controls)
This tutorial demonstrates how to use three-dimensional (3D)
chart areas in your Chart control, as well as how to use custom
attributes in series.
This tutorial uses the Chart control you created in Tutorial:
Creating a Basic Chart.
Changing to a 3D ChartFollow the steps below to change the second chart area to a
3D chart.
To change to a 3D chart
1. Open the ChartAreas Collection Editor for your Chart
control.
2. In the Members area, click ChartArea1.
3. In the 3D category of the ChartArea1 properties area,
expand the Area3DStyle property.
4. Set the following properties in the Area3DStyle
property:
Property Value
Enable3D True
WallWidth 0
5. Click OK, and then run your application.
Changing to Cylinder BarsFollow the steps below to change the bars in the bar chart to
cylinders.
To change bars to cylinder bars
1. Open the Series Collection Editor for your Chart control.
2. In the Members area, click BarChart.
3. In the Misc category of the BarChart properties area,
expand the CustomProperties property.
The CustomProperties property contains a set of
custom attributes for a series of a particular chart type.
24-9-2010 Tutorial: Changing to a 3D Chart (Chart…
msdn.microsoft.com/…/dd489205.aspx 1/2
© 2010 Microsoft Corporation. All rights reserved.
custom attributes for a series of a particular chart type.
For more information, see Custom Attributes.
4. In the DrawingStyle list, select Cylinder.
5. Click OK, then run your application.
Next StepYou have now learned how to use 3D chart areas and use
custom attributes to enhance your chart appearance. To learn
about data binding, see Tutorial: Data Binding a Chart to a
Database.
See AlsoReference
System.Web.UI.DataVisualization.Charting
System.Windows.Forms.DataVisualization.Charting
Other Resources
Getting Started
Terms of Use | Trademarks |
Privacy Statement | Feedback
24-9-2010 Tutorial: Changing to a 3D Chart (Chart…
msdn.microsoft.com/…/dd489205.aspx 2/2