Package org.apache.jmeter.visualizers

Examples of org.apache.jmeter.visualizers.LineGraph


        double[][] dbset = convertToDouble(dset);
        return renderGraphics(dbset, (String[])xlabels.toArray(new String[xlabels.size()]));
  }

    public JComponent renderGraphics(double[][] data, String[] xAxisLabels) {
        LineGraph panel = new LineGraph();
        panel.setTitle(this.getTitle());
        panel.setData(data);
        panel.setXAxisLabels(xAxisLabels);
        panel.setYAxisLabels(this.getURLs().split(URL_DELIM));
        panel.setXAxisTitle(this.getFormattedXAxis());
        panel.setYAxisTitle(this.getYAxis());
        // we should make this configurable eventually
        int _width = getWidth();
        int _height = getHeight();
        panel.setPreferredSize(new Dimension(_width,_height));
        panel.setSize(new Dimension(_width,_height));
        panel.setWidth(_width);
        panel.setHeight(_width);
        setBufferedImage(new BufferedImage(_width,_height,BufferedImage.TYPE_INT_RGB));
        panel.paintComponent(this.getBufferedImage().createGraphics());
        return panel;
    }
View Full Code Here


        double[][] dbset = convertToDouble(dset);
        return renderGraphics(dbset, (String[])xlabels.toArray(new String[xlabels.size()]));
    }

    public JComponent renderGraphics(double[][] data, String[] xAxisLabels) {
        LineGraph panel = new LineGraph();
        panel.setTitle(this.getTitle());
        panel.setData(data);
        panel.setXAxisLabels(xAxisLabels);
        panel.setYAxisLabels(this.getURLs().split(URL_DELIM));
        panel.setXAxisTitle(this.getFormattedXAxis());
        panel.setYAxisTitle(this.getYAxis());
        // we should make this configurable eventually
        int _width = getWidth();
        int _height = getHeight();
        panel.setPreferredSize(new Dimension(_width,_height));
        panel.setSize(new Dimension(_width,_height));
        panel.setWidth(_width);
        panel.setHeight(_width);
        setBufferedImage(new BufferedImage(_width,_height,BufferedImage.TYPE_INT_RGB));
        panel.paintComponent(this.getBufferedImage().createGraphics());
        return panel;
    }
View Full Code Here

        double[][] dbset = convertToDouble(dset);
        return renderGraphics(dbset, xlabels.toArray(new String[xlabels.size()]));
    }

    public JComponent renderGraphics(double[][] data, String[] xAxisLabels) {
        LineGraph panel = new LineGraph();
        panel.setTitle(this.getTitle());
        panel.setData(data);
        panel.setXAxisLabels(xAxisLabels);
        panel.setYAxisLabels(this.getURLs().split(URL_DELIM));
        panel.setXAxisTitle(this.getFormattedXAxis());
        panel.setYAxisTitle(this.getYAxis());
        // we should make this configurable eventually
        int _width = getWidth();
        int _height = getHeight();
        panel.setPreferredSize(new Dimension(_width,_height));
        panel.setSize(new Dimension(_width,_height));
        panel.setWidth(_width);
        panel.setHeight(_width);
        setBufferedImage(new BufferedImage(_width,_height,BufferedImage.TYPE_INT_RGB));
        panel.paintComponent(this.getBufferedImage().createGraphics());
        return panel;
    }
View Full Code Here

        double[][] dbset = convertToDouble(dset);
        return renderGraphics(dbset, (String[])xlabels.toArray(new String[xlabels.size()]));
  }

    public JComponent renderGraphics(double[][] data, String[] xAxisLabels) {
        LineGraph panel = new LineGraph();
        panel.setTitle(this.getTitle());
        panel.setData(data);
        panel.setXAxisLabels(xAxisLabels);
        panel.setYAxisLabels(this.getURLs().split(URL_DELIM));
        panel.setXAxisTitle(this.getFormattedXAxis());
        panel.setYAxisTitle(this.getYAxis());
        // we should make this configurable eventually
        int _width = getWidth();
        int _height = getHeight();
        panel.setPreferredSize(new Dimension(_width,_height));
        panel.setSize(new Dimension(_width,_height));
        panel.setWidth(_width);
        panel.setHeight(_width);
        setBufferedImage(new BufferedImage(_width,_height,BufferedImage.TYPE_INT_RGB));
        panel.paintComponent(this.getBufferedImage().createGraphics());
        return panel;
    }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.visualizers.LineGraph

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.