Can someone tell me what steps I must to follow for to do a chart?
Regards!
Steps to do a graph
RE: Steps to do a graph
What steps have you tried?
I'd suggest taking a look at the source code in JFreeChartDemo.java and having a read through the documentation (a separate download). Please let me know which parts of the documentation need improvement, as I'm in the process of overhauling it for version 0.6.0.
Regards,
DG.
I'd suggest taking a look at the source code in JFreeChartDemo.java and having a read through the documentation (a separate download). Please let me know which parts of the documentation need improvement, as I'm in the process of overhauling it for version 0.6.0.
Regards,
DG.
RE: Steps to do a graph
Well, I tried this:
I download the files... then when I tried to compile the files in event, chart and ui charpters... I get a lot of messages that say "The class X does not exist" ...
I tried to put my classpath... but I put one path for event charpter, another for chart, and another for ui... but when I run autoexec.bat I get the message "Without space in rnvironment".
I tried to put only one path in my classpath, for the charpter above they, but I get the same message.
I tried with the example in readme file.. is very simple, only for proof.
I dont know what I am doing wrong... I hope you can help me...
thanks in advance!
I download the files... then when I tried to compile the files in event, chart and ui charpters... I get a lot of messages that say "The class X does not exist" ...
I tried to put my classpath... but I put one path for event charpter, another for chart, and another for ui... but when I run autoexec.bat I get the message "Without space in rnvironment".
I tried to put only one path in my classpath, for the charpter above they, but I get the same message.
I tried with the example in readme file.. is very simple, only for proof.
I dont know what I am doing wrong... I hope you can help me...
thanks in advance!
RE: Steps to do a graph
When javac is looking for source files, it already knows the package names from the import statements. So it will look in the directories:
com/jrefinery/chart/*.java
com/jrefinery/chart/event/*.java
com/jrefinery/chart/ui/*.java
for classes, because the source code says:
import com.jrefinery.chart.*;
import com.jrefinery.chart.event.*;
import com.jrefinery.chart.ui.*;
But javac doesn't know where you stored those directories. Say you put them in C:/jfreechart/...
C:/jfreechart/com/jrefinery/chart/*.java
C:/jfreechart/com/jrefinery/chart/event/*.java
C:/jfreechart/com/jrefinery/chart/ui/*.java
Then you can either invoke javac from C:/jfreechart or you can specify C:/jfreechart in your sourcepath (use the command-line option rather than setting it in autoexec.bat, then you know what you're getting).
Hope that helps,
DG.
com/jrefinery/chart/*.java
com/jrefinery/chart/event/*.java
com/jrefinery/chart/ui/*.java
for classes, because the source code says:
import com.jrefinery.chart.*;
import com.jrefinery.chart.event.*;
import com.jrefinery.chart.ui.*;
But javac doesn't know where you stored those directories. Say you put them in C:/jfreechart/...
C:/jfreechart/com/jrefinery/chart/*.java
C:/jfreechart/com/jrefinery/chart/event/*.java
C:/jfreechart/com/jrefinery/chart/ui/*.java
Then you can either invoke javac from C:/jfreechart or you can specify C:/jfreechart in your sourcepath (use the command-line option rather than setting it in autoexec.bat, then you know what you're getting).
Hope that helps,
DG.