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);
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