org.jenkinsci.plugins.neoload_integration.supporting
Class NeoLoadGraph

java.lang.Object
  extended by org.jenkinsci.plugins.neoload_integration.supporting.NeoLoadGraph
All Implemented Interfaces:
Serializable

public class NeoLoadGraph
extends Object
implements Serializable

This does not extend any type of "Graph" class for easier compatibility with Hudson and Jenkins. i.e. we can more easily use the same code for both.

See Also:
Serialized Form

Constructor Summary
NeoLoadGraph(org.jfree.data.category.CategoryDataset dataset, String yAxisLabel, Color lineColor)
           
 
Method Summary
 org.jfree.chart.JFreeChart createGraph()
           
 BufferedImage createImage(int width, int height)
           
 void doPng(org.kohsuke.stapler.StaplerRequest req, org.kohsuke.stapler.StaplerResponse rsp)
          This is the method Hudson uses when a dynamic png is referenced in a jelly file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NeoLoadGraph

public NeoLoadGraph(org.jfree.data.category.CategoryDataset dataset,
                    String yAxisLabel,
                    Color lineColor)
Method Detail

createGraph

public org.jfree.chart.JFreeChart createGraph()

doPng

public void doPng(org.kohsuke.stapler.StaplerRequest req,
                  org.kohsuke.stapler.StaplerResponse rsp)
           throws IOException
This is the method Hudson uses when a dynamic png is referenced in a jelly file.

Parameters:
req -
rsp -
Throws:
IOException

createImage

public BufferedImage createImage(int width,
                                 int height)


Copyright © 2004-2013. All Rights Reserved.