Package org.apache.jmeter.report

Examples of org.apache.jmeter.report.DataSet


    public JComponent renderChart(List dataset) {
        ArrayList dset = new ArrayList();
        ArrayList xlabels = new ArrayList();
        Iterator itr = dataset.iterator();
        while (itr.hasNext()) {
            DataSet item = (DataSet)itr.next();
            if (item != null) {
                // we add the entry
                dset.add(item);
                if ( getXLabel().equals(X_DATA_FILENAME_LABEL) ) {
                    xlabels.add(item.getDataSourceName());
                } else {
                    xlabels.add(item.getMonthDayYearDate());
                }
            }
        }
        double[][] dbset = convertToDouble(dset);
        return renderGraphics(dbset, (String[])xlabels.toArray(new String[xlabels.size()]));
View Full Code Here


  public JComponent renderChart(List data) {
        ArrayList dset = new ArrayList();
        ArrayList xlabels = new ArrayList();
        Iterator itr = data.iterator();
        while (itr.hasNext()) {
            DataSet item = (DataSet)itr.next();
            SamplingStatCalculator ss = item.getStatistics(this.getURL());
            if (ss != null) {
                // we add the entry
                dset.add(ss);
                if ( getXLabel().equals(X_DATA_FILENAME_LABEL) ) {
                    xlabels.add(item.getDataSourceName());
                } else {
                    xlabels.add(item.getMonthDayYearDate());
                }
            }
        }
        double[][] dbset = convertToDouble(dset);
    return renderGraphics(dbset, (String[])xlabels.toArray(new String[xlabels.size()]));
View Full Code Here

TOP

Related Classes of org.apache.jmeter.report.DataSet

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.