How To Create A Line Chart From Array Of Values?

2019-08-04 13:25发布

问题:

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);


标签: c# charts