Click here to Skip to main content
15,881,803 members
Articles / Web Development / ASP.NET

ASP.NET Charting Controls

Rate me:
Please Sign up or sign in to vote.
4.79/5 (17 votes)
25 Jan 2013Ms-PL2 min read 128.2K   4K   71  
Usage of ASP.NET Charting Controls provided with .NET Framework 3.5 SP1
Partial Public Class _Default
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load


        Chart1.Series.Add("Pass percentage")
        Chart1.Titles.Add("Pass percentage of Students")

        Dim Yr As Int16 = 2000
        Dim j As Int16 = 0
        For i As Integer = 1 To 4
            Chart1.Series(0).Points.AddXY(i + 10, i + 15)
            Chart1.Series(0).Points.Item(j).AxisLabel = "Yr -" & Yr
            Yr = Yr + 1
            j = j + 1
        Next

    End Sub

End Class

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)


Written By
Technical Lead Imaginnovate TechSolutions
India India
Spends free time, working with new stuff from Microsoft and Web technologies. Recently started working on "Ruby on Rails" and other open source technologies.

Comments and Discussions