Quantcast
Channel: CSharp Forum Latest Questions
Viewing all articles
Browse latest Browse all 32060

How to create charts using run time data in VS2008?

$
0
0


I am supposed tocreate a chart using run-time data but I have no idea how to achieve that.

I am working with Microsoft Visual Studio 2008 (.NET framework 3.5 ) with the Microsoft Chart-Addons.

For the moment, I know how to create charts with existing data, for example with the help of an array,

 
            double[] array = { 0, 0, 0, 2.8, 4.4, 6.5, 8.3, 3.6, 5.6, 7.3, 9.2, 1.0 };
            
            Chart1.Series["Series1"].Points.DataBindY(new IEnumerable<double>[] { array });

Please help !!


Viewing all articles
Browse latest Browse all 32060

Trending Articles