DPlot Forum Index DPlot
http://www.dplot.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Line Chart in c#

 
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C#
View previous topic :: View next topic  
Author Message
DHodges



Joined: 13 Aug 2007
Posts: 2

PostPosted: Fri Sep 07, 2007 3:13 pm    Post subject: Line Chart in c# Reply with quote

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
Back to top
View user's profile Send private message
DPlotAdmin
Site Admin


Joined: 24 Jun 2003
Posts: 2310
Location: Vicksburg, Mississippi

PostPosted: Fri Sep 07, 2007 4:25 pm    Post subject: Reply with quote

Quote:
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
Back to top
View user's profile Send private message Send e-mail Visit poster's website
DHodges



Joined: 13 Aug 2007
Posts: 2

PostPosted: Fri Sep 07, 2007 6:56 pm    Post subject: Reply with quote

Thanks for your quick reply. My problem was that i didn't set the max points properly *oops*.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    DPlot Forum Index -> C, C++, C# All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group