Page 1 of 1

Line Chart in c#

Posted: Fri Sep 07, 2007 3:13 pm
by DHodges
I am trying to create a graph with several curves using c# and I seem to have troubles when going over a certain number of points in the curve.

e.g. The call to DPlot_Plot8 returns successfully when I have 237 points in a curve but fails (returns 0) when that number goes up to 1729.

Is there a limit to the number of points you can have in a curve?

Thanks

Posted: Fri Sep 07, 2007 4:25 pm
by DPlotAdmin
Is there a limit to the number of points you can have in a curve?
No, the number is limited only by how much memory you have available, up to a max of 2^31. 1729 certainly isn't a problem.

Check to see that you've set the MaxPoints member of the DPlot structure to something greater than 1729. Other than that, I don't know what the problem might be. You're welcome to send me your source to take a look at. I'll be out of touch until very late Friday night, but will give you an answer as soon as possible.

Posted: Fri Sep 07, 2007 6:56 pm
by DHodges
Thanks for your quick reply. My problem was that i didn't set the max points properly *oops*.