Wednesday, September 19, 2018

Area Chart In C#

 The Area chart shows the relationship of the parts to a whole area.

The below c# code are used to draw the area chart in c#.
`

            chart1.Titles.Add("Area Chart ");
            Series s1 = this.chart1.Series.Add("Population");
            s1.ChartType = SeriesChartType.Area;
            s1.Points.AddXY("2001",57);
            s1.Points.AddXY("2002", 67);
            s1.Points.AddXY("2003", 97);

            s1.Points.AddXY("2004", 107);



No comments:

Post a Comment

Featured Post

What is JavaScript? What is the role of JavaScript engine?

  The JavaScript is a Programming language that is used for converting static web pages to interactive and dynamic web pages. A JavaScript e...