110,539
社区成员
发帖
与我相关
我的任务
分享
string[] x = new string[] { "2013-01", "2013-02", "2013-03", "2013-04", "2013-05" };//横坐标集
int[] y = new int[] { 123, 273, 342, 44,100 }; //纵坐标集
this.chart1.Legends.Clear();
this.chart1.ChartAreas[0].Area3DStyle.Enable3D = true;
this.chart1.ChartAreas[0].Area3DStyle.LightStyle = LightStyle.Realistic;
this.chart1.ChartAreas[0].Area3DStyle.Inclination = 30;
this.chart1.ChartAreas[0].Area3DStyle.PointDepth = 50;
//this.chart1.ChartAreas[0].AxisX.IntervalAutoMode = IntervalAutoMode.VariableCount;
this.chart1.Series[0].ChartType = SeriesChartType.Column;
this.chart1.Series[0]["DrawingStyle"] = "Cylinder";
this.chart1.Series[0].Points.DataBindXY(x, y);
this.chart1.Series[0].Color = Color.FromArgb(210, 100, 255, 100);
this.chart1.Series[0].LegendToolTip = "aaa";