How to enable 3D Chart programmatically in asp.net

Enable 3D Chart (Area3DStyle.Enable3D)
Enable3DChart.aspx

<%@ Page Language="C#" AutoEventWireup="true" %>
<%@Import Namespace="System.Web.UI.DataVisualization.Charting" %>

<!DOCTYPE html>

<script runat="server">
    protected void Button1_Click(object sender, System.EventArgs e)
    {
        Chart1.ChartAreas[0].Area3DStyle.Enable3D = true;
    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>How to enable 3-D Chart (Area3DStyle.Enable3D) programmatically in asp.net</title>
    <style type="text/css">
        h2
        {
            color:DarkBlue;
            font-style:italic;
            }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h2>Chart example and tutorial: How to enable<br /> 3-D Chart programmatically in asp.net</h2>
        <hr width="525" align="left" color="DarkBlue" />
        <br />
        <asp:Chart 
            ID="Chart1" 
            runat="server"
            Width="525" 
            BackColor="CornflowerBlue"
            BorderlineColor="MediumBlue"
            BorderlineDashStyle="Solid"
            >
            <Series>
                <asp:Series 
                    Name="AnnualSalary" 
                    YValueType="Int32" 
                    ChartArea="DefaultChartArea"
                    Color="MediumOrchid"
                    >
                    <Points>
                        <asp:DataPoint AxisLabel="Munni" YValues="37400" />
                        <asp:DataPoint AxisLabel="Monalisa" YValues="19695" />
                        <asp:DataPoint AxisLabel="Sokha" YValues="21250" />
                        <asp:DataPoint AxisLabel="Sarothi" YValues="9850" />
                        <asp:DataPoint AxisLabel="Sunita" YValues="17350" />
                    </Points>
                </asp:Series>
            </Series>
            <ChartAreas>
                <asp:ChartArea 
                    Name="DefaultChartArea" 
                    BackColor="PapayaWhip"
                    >
                </asp:ChartArea>
            </ChartAreas>
        </asp:Chart>
        <br />
        <asp:Button 
            ID="Button1"
            runat="server"
            Text="Enable 3D Chart"
            Font-Bold="true"
            OnClick="Button1_Click"
            ForeColor="DarkBlue"
            Height="45"
            />
    </div>
    </form>
</body>
</html>
More asp.net chart example