Generating documentation and running the demo version provid

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

Generating documentation and running the demo version provid

Post by Kamal » Thu Feb 13, 2003 5:12 pm

Hi,

I have got a couple of problems using the package provided. The fist one is that I am getting an error when running the demo file as it cannot locate some configuration file that is supposed be present in the JDK directory. I am using JDK version 1.3.1, is that why I am getting the error? Could anybody please give me this missing file that I need?

The other problem is generating the documentation for the package. I tried using the command ant but it does not recognise the command for some reason? Can somebody maybe send me the the documentation as an attachment aswell please?

Thanks.

Kamal.

Kamal

Re: Generating documentation and running the demo version pr

Post by Kamal » Thu Feb 13, 2003 5:50 pm

Does anybody also have any sample code that I can use to draw a 2D Line Graph using the JFreeChart package? I would like to use either arrays or vectors as parameters for X and Y values of the chart?

Thanks.

morpheus

Re: Generating documentation and running the demo version pr

Post by morpheus » Thu Feb 13, 2003 6:08 pm

As far as I know JFreeChart doesn't use JDK properties files... Check if ur java is working... ;o)

For generating the javadoc of JFreeChart u should have ANT 1.5.1 (at least ) installed, define env variable ANT_HOME that points to the directory where u installed ant, and add (I suppose u're using Windows ) %ANT_HOME%\bin to path env variable. Finally copy file servlet.jar ( Which is i think not provided with 0.9.5, but can be found easily in internet) in the directory where jcommon-0.7.2.jar is installed. Finally using a dos shell change directory to <your_jfreechart_install_dir>\ant, and type ant javadoc

Hope this help...

Regards
Morpheus

I found the Matrix...

Locked