All the data (Date and Data) are stored in array.
How can I create XYDataset by using the array?
I have try to create the XYDataset by the following code, however no data can be plot in the graph
public static XYDataset createMyXYDataset(Double[][] data1, int[][] yr, int[][] month, int[][] day) {
int temp = data1.length;
Object [][][] data = new Object [temp][temp][temp];
for (int i=0; i<temp; i++)
{
data [1][0] = createDateTime(yr[0], month[0]-1, day[0], 0, 0);
data [0][0] = data1;
}
return new DefaultXYDataset(data);
}
Anyone can help me, it's urgent. Many Many Thanks
