How To Create A Line Chart From Array Of Values?

自古美人都是妖i 提交于 2019-12-11 10:33:14

问题


i want to add line with values on chart

how do this

my array value {10,20,30.....}


回答1:


This will bind all your data from the array to the chart in only one line of code:

chart1.Series[0].Points.DataBindY(insertYourArrayHere);


来源:https://stackoverflow.com/questions/33828236/how-to-create-a-line-chart-from-array-of-values

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!