3D Charts in ASP NET

preview_player
Показать описание
Text version of the video

Healthy diet is very important both for the body and mind. If you like Aarvi Kitchen recipes, please support by sharing, subscribing and liking our YouTube channel. Hope you can help.

Slides

All ASP .NET Chart Control Text Articles and Slides

ASP.NET Charts Playlist

All Dot Net and SQL Server Tutorials in English

All Dot Net and SQL Server Tutorials in Arabic

In this video we will discuss creating 3 Dimensional charts in ASP.NET. This is continuation to Part 6. Please watch Part 6 before proceeding.

ASP.NET chart control supports 3D charts. To use 3D charts, set the respective chart area's Area3DStyle.Enable3D property to True.
[ChartAreas]
[asp:ChartArea Name="ChartArea1"]
[AxisX Title="Student Name"]
[/AxisX]
[AxisY Title="Total Marks"]
[/AxisY]
[Area3DStyle Enable3D="True" /]
[/asp:ChartArea]
[/ChartAreas]

Run the application and notice that a 3D chart is created.

Customizing the look and feel of 3D charts :
[asp:Chart ID="Chart1" runat="server" Width="350px"]
[Titles]
[asp:Title Text="Total marks of students"]
[/asp:Title]
[/Titles]
[Series]
[asp:Series Name="Series1" ChartArea="ChartArea1"]
[/asp:Series]
[/Series]
[ChartAreas]
[asp:ChartArea Name="ChartArea1"]
[AxisX Title="Student Name"]
[/AxisX]
[AxisY Title="Total Marks"]
[/AxisY]
[Area3DStyle Enable3D="True" /]
[/asp:ChartArea]
[/ChartAreas]
[/asp:Chart]

As you change these property values, you can see their effect on the 3D chart at design time. When you click on a property, at the bottom of the window you can see help text for that property.

Before you run the project, make sure to delete "Series1" element from the chart control, otherwise you would get the following run time exception when you try to select a different chart type from the DropDownList.
Chart Area Axes - The chart area contains incompatible chart types. For example, bar charts and column charts cannot exist in the same chart area.
Рекомендации по теме
Комментарии
Автор

Your tutorials are very imformative. I like your teaching style a lot

MuhammadJunaidHTMLTutorial
Автор

hi sir, can we possible to do 3D surface plot in asp.net using chart control. if you possible please do a video and upload.
thank you

nandeeshs
Автор

Hello sir, how can we possibles to create dynamic multiple pie chart.

abhiisrivastava
Автор

3D charts are mainly 3 axis charts ! It's still 2D chart with "3D" elements of the 2D chart you are telling about.

barbarakud