2
Answers

Tutorial/Article pointer

jayp

jayp

20y
1.8k
1
very new to C# and haven't worked with xml much so be gentle with me! I have a aspx page (C#) which draws chart data to a page and spits out an image (outputstream). At present the chart data is hard coded array(x,y) just for dev purposes. What I want to achieve is to have the y values read from a txt or xml file. The x will always be hard coded and have a total of 21 in the index. However at any given time there may be <= 21 values for the Y value. I'll want the chart to stop "plotting" once it reaches a null value for Y. So in a nutshell I need to research/achieve reading xml values into a C# array and How to code.... for i = 1 to FirstInstanceOfNull in Y (so to speak) plot the chart Jay
Answers (2)
0
Ronal Parmar
NA 22 1.8k 12y

Dear,

        Please try below link to find the solution for your problem its really useful for you.

         http://msdn.microsoft.com/en-us/library/system.drawing.printing.printdocument.print(v=vs.71).aspx