Line Chart in c#

Q&A for C, C++, and/or C# developers using DPlot

Moderator: DPlotAdmin

Post Reply
DHodges
Posts: 2
Joined: Mon Aug 13, 2007 4:39 pm

Line Chart in c#

Post 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
User avatar
DPlotAdmin
Posts: 2312
Joined: Tue Jun 24, 2003 9:34 pm
Location: Vicksburg, Mississippi
Contact:

Post 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.
Visualize Your Data
support@dplot.com
DHodges
Posts: 2
Joined: Mon Aug 13, 2007 4:39 pm

Post by DHodges »

Thanks for your quick reply. My problem was that i didn't set the max points properly *oops*.
Post Reply