4,820
社区成员
发帖
与我相关
我的任务
分享
Chart1.DataSource = dataDT;//设置数据源
if (Chart1.Series.Count > 0)
{
//绑定
Chart1.Series[0].XValueMember = "test";
Chart1.Series[0].YValueMembers = "test1";
}
Chart1.DataBind();
Chart1.ChartAreas[0].AxisX.Interval = 1;
Chart1.ChartAreas[0].Area3DStyle.Enable3D = true;
Chart1.ChartAreas[0].Area3DStyle.PointDepth =
Chart1.ChartAreas[0].Area3DStyle.PointGapDepth = 50;
Chart1.ChartAreas[0].Area3DStyle.WallWidth = 10;
Chart1.ChartAreas[0].AxisY.LabelStyle.Format = "{0;0}" + "%";
Chart1.ChartAreas[0].AxisY.Interval = 10;
Chart1.Series[0].Label = "#VAL{N2} %";
Chart1.Series[0].IsValueShownAsLabel = true;




来人啊