hey all,
i got some problem with drawing a chart for RSI. I read in some data from "out.txt" and wanted to plot them against "month", which will increase by itself. The problem is for setting the month into the dataset:
try {
File f = new File("out.txt");
Scanner input = new Scanner(f);
while (input.hasNextLine()) {
data = input.nextDouble();
i++;
}
}
catch (IOException ex) {
System.err.println(ex);
}
for(y=0;y<=233;y++) {
date[y] = DateUtilities.createDate(2007, sep, 3+y, 12, 0);
dataset.addValue(data[y], "Classes", date[y]);
}
I cant use date[y] in that part, it is suppose to be a comparable. Please help!! BTW, i bought the developer guide already but abit bulky for this.
Need help in creating RSI chart
Not enough info. Don't even know what type of dataet you are using.
How to Ask a Question About JFreeChart
How to Ask a Question About JFreeChart
The answer does not come from thinking outside the box, rather the answer comes from realizing the truth; There is no Box. my js site