Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

ASP.NET Charting Controls

, 25 Jan 2013 Ms-PL
Usage of ASP.NET Charting Controls provided with .NET Framework 3.5 SP1
DynamicWebApplication2.zip
WebApplication2
App_Data
bin
WebApplication2.dll
WebApplication2.pdb
My Project
Application.myapp
MyExtensions
Settings.settings
WebApplication2.vbproj.user
WebApplication2.zip
WebApplication2.dll
WebApplication2.pdb
Application.myapp
Settings.settings
WebApplication2.vbproj.user
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="WebApplication2._Default" %>

<%@ Register Assembly="System.Web.DataVisualization, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI.DataVisualization.Charting" TagPrefix="asp" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        
    </div>
  <asp:chart id="Chart1" runat="server" Height="296px" Width="512px" 
        BorderDashStyle="Solid" BackSecondaryColor="White" 
        BackGradientStyle="TopBottom" BorderWidth="2px" backcolor="211, 223, 240" 
        BorderColor="#1A3B69" DataMember="DefaultView"  >  
       <legends>  
           <asp:Legend IsTextAutoFit="false"  Name="Default" BackColor="Transparent" Font="Trebuchet MS, 8.25pt, style=Bold"></asp:Legend>  
       </legends>  
       <borderskin skinstyle="Sunken"></borderskin>  
       
       <chartareas>  
           <asp:ChartArea Name="ChartArea1" BorderColor="64, 64, 64, 64" BorderDashStyle="Solid" 
                BackSecondaryColor="White" BackColor="64, 165, 191, 228" ShadowColor="Transparent" 
                BackGradientStyle="TopBottom">  
               <area3dstyle Rotation="10" perspective="10" Inclination="15" IsRightAngleAxes="False" 
                    wallwidth="0" IsClustered="False"></area3dstyle>  
               <axisy linecolor="64, 64, 64, 64">  
                   <labelstyle font="Trebuchet MS, 8.25pt, style=Bold" />  
                   <majorgrid linecolor="64, 64, 64, 64" />  
               </axisy>  
               <axisx linecolor="64, 64, 64, 64">  
                   <labelstyle font="Trebuchet MS, 8.25pt, style=Bold" />  
                   <majorgrid linecolor="64, 64, 64, 64" />  
               </axisx>  
               <Position Height="79.02613" Width="61.26034" X="5.55474472" Y="14.414547" />
           </asp:ChartArea>  
       </chartareas>  
   </asp:chart>  
  
    </form>
</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Microsoft Public License (Ms-PL)

Share

About the Author

Madhukar Mudunuru
Technical Lead Broadridge
India India
Myself working for Broadridge Financial Solutions. Spends free time, working with new stuff from Microsoft and Web technologies.
Follow on   Twitter   LinkedIn

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.141223.1 | Last Updated 25 Jan 2013
Article Copyright 2008 by Madhukar Mudunuru
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid