com.sonyericsson.jenkins.plugins.bfa.graphs
Class BarChart

java.lang.Object
  extended by hudson.util.Graph
      extended by com.sonyericsson.jenkins.plugins.bfa.graphs.BFAGraph
          extended by com.sonyericsson.jenkins.plugins.bfa.graphs.BarChart

public class BarChart
extends BFAGraph

Bar chart displaying the number of different failure causes for a project.

Author:
Fredrik Persson <fredrik6.persson@sonymobile.com>

Field Summary
 
Fields inherited from class com.sonyericsson.jenkins.plugins.bfa.graphs.BFAGraph
filter, GRAPH_OTHERS, GRAPH_UNCATEGORIZED, GRAPH_UNKNOWN, graphTitle, MAX_GRAPH_ELEMENTS, MAX_YEARS_FOR_TIME_GRAPH, project
 
Constructor Summary
BarChart(long timestamp, int defaultW, int defaultH, hudson.model.AbstractProject project, GraphFilterBuilder filter, String graphTitle, boolean byCategories)
          Default constructor.
 
Method Summary
protected  org.jfree.chart.JFreeChart createGraph()
           
 
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.graphs.BFAGraph
getBuildNumbers
 
Methods inherited from class hudson.util.Graph
doMap, doPng
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BarChart

public BarChart(long timestamp,
                int defaultW,
                int defaultH,
                hudson.model.AbstractProject project,
                GraphFilterBuilder filter,
                String graphTitle,
                boolean byCategories)
Default constructor.

Parameters:
timestamp - timestamp for this project graph, used for HTTP caching. Set to -1 if timestamp is not needed.
defaultW - width of the graph in pixels
defaultH - height of the graph in pixels
project - the parent project of this graph
filter - the filter used when fetching data for this graph
graphTitle - The title of the graph
byCategories - True to display categories, or false to display failure causes
Method Detail

createGraph

protected org.jfree.chart.JFreeChart createGraph()
Specified by:
createGraph in class hudson.util.Graph


Copyright © 2004-2014. All Rights Reserved.