Thanks, David
I have initialize the data,
Number[][] data = new Double[3][10];
and assign value into it,
for(int i=0; i<2; i++){
data[0] = new Double(taMean[i+1]);
data[1] = new Double(tsMean[i+1]);
data[2] = new Double(tfMean[i+1]);
}
where taMean[i+1] must have value in it when checking
also, I have implement DefaultCategoryDataSource,
CategoryDataSource myDataSource = new DefaultCategoryDataSource(data);
One more question, Is the initialization of data[][] correct?
and should I assign value to all data[3][10] array element?
One more question on DataSource
RE: One more question on DataSource
You do need to make sure there are values for every index in the array - DefaultCategoryDataSource doesn't work with null or missing values.
Regards,
DG.
Regards,
DG.