@@ -31,7 +31,7 @@ public class LineChart {
3131 * @param y the duplication rate values
3232 * @param x the domain values
3333 * @return the line plot chart
34- * @throws IOException
34+ * @throws IOException Invalid file or parameters
3535 */
3636 public static ChartPanel createLineChart (ArrayList <Double > y , String [] x ) throws IOException {
3737 DefaultCategoryDataset dataset = new DefaultCategoryDataset ();
@@ -53,7 +53,7 @@ public static ChartPanel createLineChart(ArrayList<Double> y, String[] x) throws
5353 * @param y2 the genome duplication rate values
5454 * @param x the domain values
5555 * @return the line plot chart
56- * @throws IOException
56+ * @throws IOException Invalid file or parameters
5757 */
5858 public static ChartPanel createLineChart (ArrayList <Double > y1 , ArrayList <Double > y2 , String [] x ) throws IOException {
5959 DefaultCategoryDataset dataset = new DefaultCategoryDataset ();
@@ -75,7 +75,7 @@ public static ChartPanel createLineChart(ArrayList<Double> y1, ArrayList<Double>
7575 * @param x the domain values
7676 * @param output the path of the PNG file to save the chart image to
7777 * @return the line plot chart
78- * @throws IOException
78+ * @throws IOException Invalid file or parameters
7979 */
8080 public static ChartPanel createLineChart (ArrayList <Double > y , String [] x , File output ) throws IOException {
8181 DefaultCategoryDataset dataset = new DefaultCategoryDataset ();
@@ -102,7 +102,7 @@ public static ChartPanel createLineChart(ArrayList<Double> y, String[] x, File o
102102 *
103103 * @param dataset the formatted dataset to plot
104104 * @return the line plot chart
105- * @throws IOException
105+ * @throws IOException Invalid file or parameters
106106 */
107107 private static JFreeChart createChart (CategoryDataset dataset ) throws IOException {
108108 final JFreeChart chart = ChartFactory .createLineChart (
0 commit comments