You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
// creating the report message and adding it to the final report message
message = seriesName[i] +" had a value in year " + series.get(i).xDelimitation.get(j) + " of "+ series.get(i).getValues().get(j)+"\n";
finalMessage.append(message);
}
if (isEmpty){
//Throw an exception if no data for the selected years
throw new DataProcessorException("No Data For The Selected Years");
}
// adding the series to their collections
xySeriesCollection.addSeries(xyseries);
scatterSeriesCollection.addSeries(scatterseries);
timeSeriesCollection.addSeries(timeseries);
barSeriesCollection.addSeries(barseries);
// adding the collections to their appropriate arraylist
xySeriesList.add(xySeriesCollection);
scatterSeriesList.add(scatterSeriesCollection);
timeSeriesList.add(timeSeriesCollection);
barSeriesList.add(barSeriesCollection);
}
// the options for the dropdown
String[] analysisTypes={
"Line Chart",
"Scatter Plot",
"Bar Chart",
"Time Series",
"Report"
};
// calling the Analysis class to compute the data into viewers
strategySeven = new Analysis(root,method,seriesName,analysisNames,analysisTypes,finalMessage.toString(),timeSeriesList,scatterSeriesList,barSeriesList,xySeriesList);