请问您知道C#的 chartControl的X轴坐标怎样自定义设置吗?
展开全部
string cmdtxt = "select top 100 * from Qian where Convert(varchar(10),StoreTime,120) = Convert(varchar(10),getDate(),120)";
DataSet ds = GetData(cmdtxt);
chart_Temp.DataSource = ds;
chart_Temp.Series[0].YValueMembers = "TmpLevel";//Y轴
chart_Temp.Series[0].XValueMember = "StoreTime";//X轴
chart_Temp.DataBind();
DataSet ds = GetData(cmdtxt);
chart_Temp.DataSource = ds;
chart_Temp.Series[0].YValueMembers = "TmpLevel";//Y轴
chart_Temp.Series[0].XValueMember = "StoreTime";//X轴
chart_Temp.DataBind();
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询