XYSeries - missing constructor

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Andreas Gros

XYSeries - missing constructor

Post by Andreas Gros » Tue Sep 17, 2002 9:52 am

The documentation of the XYSeries in the class library of jFreechart mentiones the following constructor:

XYSeries(java.lang.String name, boolean allowDuplicateXValues)

But if you try to use it, the compiler complaines that it can't find this constructor.
Any advices, comments???

Thanks in advance

Andreas

Andreas Schroeder

Re: XYSeries - missing constructor

Post by Andreas Schroeder » Tue Sep 17, 2002 10:42 am

Hi Andreas,

this is a versioning problem. The JavaDoc refers to JFreeChart 0.9.3
(to use with JCommon 0.7.0). Do you have this version or do you have 0.9.2 or older?

Regards,

Andreas Schroeder

Andreas Gros

Re: XYSeries - missing constructor

Post by Andreas Gros » Tue Sep 17, 2002 11:23 am

That solved the problem!!

Thanks!!

Andreas

Locked