Examples of LineGraph


Examples of jdumper.ui.graph.LineGraph

    super(staker.getName()+" ["+staker.getStatTypes()[type]+"]");
    this.staker=staker;
    this.drawTimescale=isTime;this.count=count;
    statType=type;
   
    lineGraph=new LineGraph(staker.getLabels());
   
    getContentPane().setLayout(new BorderLayout());
    getContentPane().add(lineGraph,BorderLayout.CENTER);
    setSize(400,400);
   
View Full Code Here

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

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

Examples of org.apache.jmeter.visualizers.LineGraph

        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

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
TOP
Copyright © 2018 www.massapi.com. 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.