Logo Search packages:      
Sourcecode: libjfreechart-java version File versions  Download package

XYDataset org::jfree::chart::plot::junit::CombinedDomainXYPlotTests::createDataset2 (  )  [inline, private]

Creates a sample dataset.

Returns:
Series 2.

Definition at line 260 of file CombinedDomainXYPlotTests.java.

References org::jfree::data::xy::XYSeries::add().

Referenced by createPlot().

                                       {

        XYSeries series2 = new XYSeries("Series 3");

        series2.add(10.0, 16853.2);
        series2.add(20.0, 19642.3);
        series2.add(30.0, 18253.5);
        series2.add(40.0, 15352.3);
        series2.add(50.0, 13532.0);
        series2.add(100.0, 12635.3);
        series2.add(110.0, 13998.2);
        series2.add(120.0, 11943.2);
        series2.add(130.0, 16943.9);
        series2.add(140.0, 17843.2);
        series2.add(150.0, 16495.3);
        series2.add(160.0, 17943.6);
        series2.add(170.0, 18500.7);
        series2.add(180.0, 19595.9);

        return new XYSeriesCollection(series2);

    }


Generated by  Doxygen 1.6.0   Back to index