C# chart控件 画柱状图,最好是三维,每个柱子颜色不同,并且右上角有对应柱子颜色的说明,谢谢 20
1个回答
展开全部
Series series = new Series("货品数量");
series.XValueMember = "bill_code";
series.YValueMembers = "bill_num";
series.IsValueShownAsLabel = true;
series.ToolTip = dropGoods.SelectedItem.Text+":#VAL";
series.ChartType = SeriesChartType.Column;//类型为柱形图
Chart1.Series.Add(series);
Chart1.ChartAreas[0].Area3DStyle.Enable3D = true;//3D效果
series.XValueMember = "bill_code";
series.YValueMembers = "bill_num";
series.IsValueShownAsLabel = true;
series.ToolTip = dropGoods.SelectedItem.Text+":#VAL";
series.ChartType = SeriesChartType.Column;//类型为柱形图
Chart1.Series.Add(series);
Chart1.ChartAreas[0].Area3DStyle.Enable3D = true;//3D效果
本回答被网友采纳
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询