chart1.ChartAreas["Default"].Area3DStyle.Enable3D = true;
chart1.ChartAreas["Default"].Area3DStyle.Rotation = 1;
chart1.ChartAreas["Default"].Area3DStyle.Inclination = 1;
chart1.ChartAreas["Default"].Area3DStyle.WallWidth = 1;
chart1.ChartAreas["Default"].Area3DStyle.IsRightAngleAxes = false;
chart1.ChartAreas["Default"].Area3DStyle.LightStyle = LightStyle.Realistic;
chart1.ChartAreas["Default"].Area3DStyle.Perspective = 1;
chart1.ChartAreas["Default"].AxisX.IsMarginVisible = false;
chart1.Series["series1"].ChartType = SeriesChartType.Line; // chart style
chart1.Series["series2"].ChartType = SeriesChartType.Column; // chart style
chart1.Series["series1"].Color = Color.RoyalBlue;
chart1.Series["series2"].Color = Color.IndianRed;
chart1.Series["series1"]["LineTension"] = "0";
chart1.Series["series2"]["LineTension"] = "0";
chart1.Series["series1"]["ShowMarkerLine"] = "true";
chart1.Series["series2"]["ShowMarkerLine"] = "false";
System.Data.DataView dw = new System.Data.DataView(altControl.GetData("select * from #table"));
chart1.Series["series1"].Points.DataBindXY(dw, "일련번호", dw, "Xvalue");
chart1.Series["series2"].Points.DataBindXY(dw, "일련번호", dw, "Yvalue");
chart1.Invalidate();
데이터베이스 내의 #table의 select 문을 이용하여 데이터를 가져와 xvalue와 yvalue에 값을 입력시킴!!
chart1.Series.clear를 이용하면 기존에 설정하였던 series는 초기화 된다.