Package org.jamesii.resultreport.dataview

Examples of org.jamesii.resultreport.dataview.BoxPlotDataView


    testSection.addDataView(new ScatterPlotDataView(new Double[][] {
        testData[0], testData[3] }, "The scatter plot data view.",
        "This is a title for the scatter plot", new String[] { "Bogus X Label",
            "Bogus Y Label" }));

    testSection.addDataView(new BoxPlotDataView(testData,
        "The box plot data view.", "A box plot", new String[] {
            "The variables", "The quantity" }, new String[] { "Variable One",
            "Var. 2", "Var. III", "Var. Four" }));

    testSection.addDataView(new HistogramDataView(testData[1],
View Full Code Here


  private void addBoxPlot(ResultReportSection testChapter) {
    // Check whether wrong initialization is handled correctly
    boolean exceptionThrown = false;
    try {
      new BoxPlotDataView(testData, "The \\texttt{BoxPlotDataView}",
          "The title", new String[] { "The variables", "The quantity" },
          new String[] { "Var. 1", "Var. 2", "Var. 3" });
    } catch (Throwable t) {
      exceptionThrown = true;
    }
    assertTrue(exceptionThrown);
    testChapter.addDataView(new BoxPlotDataView(testData,
        "The \\texttt{BoxPlotDataView}", "A box plot", new String[] {
            "The variables", "The quantity" }, new String[] { "Variable One",
            "Var. 2", "Var. III", "Var. Four" }));
  }
View Full Code Here

TOP

Related Classes of org.jamesii.resultreport.dataview.BoxPlotDataView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.