1. Add Tilte in Chart
chart1.Titles.Add("OverAll Experience By Zones");
2. Add Series Dynamically
Series series1 = this.chart1.Series.Add("Your Series");
3. Change ForeColor
series1.ForeColor = System.Drawing.Color.FromArgb(0, 176, 80);
4. Change BackColor
series1.BackColor = System.Drawing.Color.FromArgb(0, 176, 80);
5. Chnage stackedColumn color dynamically
series1.Color = System.Drawing.Color.FromArgb(0, 176, 80);
6. Change Width of StackedColumn
series1["PixelPointWidth"] = "20";
7. Show Label value on stackedColumn chart
series1.IsValueShownAsLabel = true;
8. Add Data point to series
series1.Points.AddXY("2001", 50);
series1.Points.AddXY("2002", 80);
series1.Points.AddXY("2003", 60);
9. Add Chart Type Dynamically
series1.ChartType = SeriesChartType.Area;
10. Set Marker style
series1.MarkerStyle = MarkerStyle.Triangle;
chart1.Titles.Add("OverAll Experience By Zones");
2. Add Series Dynamically
Series series1 = this.chart1.Series.Add("Your Series");
3. Change ForeColor
series1.ForeColor = System.Drawing.Color.FromArgb(0, 176, 80);
4. Change BackColor
series1.BackColor = System.Drawing.Color.FromArgb(0, 176, 80);
5. Chnage stackedColumn color dynamically
series1.Color = System.Drawing.Color.FromArgb(0, 176, 80);
6. Change Width of StackedColumn
series1["PixelPointWidth"] = "20";
7. Show Label value on stackedColumn chart
series1.IsValueShownAsLabel = true;
8. Add Data point to series
series1.Points.AddXY("2001", 50);
series1.Points.AddXY("2002", 80);
series1.Points.AddXY("2003", 60);
9. Add Chart Type Dynamically
series1.ChartType = SeriesChartType.Area;
10. Set Marker style
series1.MarkerStyle = MarkerStyle.Triangle;
No comments:
Post a Comment