Hi,
I try to make a Timeseries Chart. I got the data from a sql server. But my chart will show me only one data (the first). here my code:
Object sqldata[][];
sqldata = svb.getData("Select dtedit,substring(xstrlogger,14,5) from xvictemperatur where xstrlogger Not Like '%started'");
for (int i=0; i<sqldata.length;++i)
{
Date ts = (Date)sqldata[0];
double value = Double.parseDouble((String)sqldata[1]);
Day day = new Day(ts);
series1.add(day,value);
}
svb is a Bean and the function getData work correctly! I have 1305 data in sqldata!
Could someone help me?
thx