关键词不能为空

当前您在: 主页 > 英语 >

vs2010chart控件使用方法

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-19 01:46
tags:

-

2021年2月19日发(作者:安格拉)


protected



void



Page_Load(object



sender, EventArgs e)











{















DataTable dt = default(DataTable);















dt = CreateDataTable();
















//


设置图表的数据源















urce = dt;
















//


设置图表


Y


轴 对应项















[0].YValueMembers =















[1].YValueMembers =
















//


设置 图表


X


轴对应项















[0].XValueMember =




























//


绑定数据















nd();











}











private



DataTable CreateDataTable()











{















//Create a DataTable as the data source of


the Chart control















DataTable dt = new



DataTable();






















































//Add three columns to the DataTable



(



(



(















DataRow dr;















//Add rows to the table which contains some


random data for demonstration















dr = ();















dr[















dr[















dr[















(dr);

































































dr = ();



dr[



dr[



dr[



(dr);















dr = ();















dr[


-


-


-


-


-


-


-


-



本文更新与2021-02-19 01:46,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/666404.html

vs2010chart控件使用方法的相关文章