hi,
I need to use one or more BasicTimeSeries to make a chart. How many I need I will only know just before I have to plot it. I did not manage to make an array of BasicTimeSeries[] which would be the obvious way to solve this.
Is this possible? If no ..... how would I have to solve making e.g. 5 BasicTimeSeries arrays called series1, series2, etc. in a loop (?).
thanx in advance
BasicTimeSeries array
Re: BasicTimeSeries array
solved it. Was basically more a Java question (i'm still learning ...). The way to do it:
BasicTimeSeries series[] = new BasicTimeSeries[cnt];
for (int i = 0; i < cnt; i++) {
series = new BasicTimeSeries("Sell Price With Profit",Day.class);
}
BasicTimeSeries series[] = new BasicTimeSeries[cnt];
for (int i = 0; i < cnt; i++) {
series = new BasicTimeSeries("Sell Price With Profit",Day.class);
}