Class RobotGraph

java.lang.Object
hudson.util.Graph
hudson.plugins.robot.graph.RobotGraph

public class RobotGraph extends Graph
  • Field Details

  • Method Details

    • getRobotGraph

      public static RobotGraph getRobotGraph(Run<?,?> owner, org.jfree.data.category.CategoryDataset categoryDataset, String yLabel, String xLabel, double scale, boolean preview, boolean binaryData, double lowerBound, double upperBound, Color... colors)
      Construct a new styled trend graph for given dataset
      Parameters:
      owner - Build which the graph is associated to
      categoryDataset - Category data for graph
      yLabel - Y label name
      xLabel - X label name
      scale - the size 1 is graph of default size. This is multiplied by scale.
      binaryData - binary data
      colors - Used colors
      lowerBound - Lower bound for the graph
      upperBound - Upper bound for the graph
      preview - True if preview is enabled
      Returns:
      Graph
    • getDataset

      public org.jfree.data.category.CategoryDataset getDataset()
    • createGraph

      protected org.jfree.chart.JFreeChart createGraph()
      Creates a Robot trend graph
      Specified by:
      createGraph in class Graph
      Returns:
      the JFreeChart graph object