hudson.graph.jfreechart
Class JFreeChartSupport

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<org.eclipse.hudson.graph.GraphSupport>
      extended by org.eclipse.hudson.graph.GraphSupport
          extended by hudson.graph.jfreechart.JFreeChartSupport
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<org.eclipse.hudson.graph.GraphSupport>

public class JFreeChartSupport
extends org.eclipse.hudson.graph.GraphSupport

JFreeChart Support for Hudson Graph Support

Author:
Winston Prakash

Nested Class Summary
static class JFreeChartSupport.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 List<org.eclipse.hudson.graph.MultiStageTimeSeries> multiStageTimeSeries
           
 
Constructor Summary
JFreeChartSupport()
           
 
Method Summary
 void createChart()
           
 String getImageMap(String id, int width, int height)
           
 BufferedImage render(int width, int height)
           
 void setChartType(int chartType)
           
 void setData(org.eclipse.hudson.graph.DataSet data)
           
 void setMultiStageTimeSeries(List<org.eclipse.hudson.graph.MultiStageTimeSeries> multiStageTimeSeries)
           
 void setTitle(String title)
           
 void setXAxisLabel(String xLabel)
           
 void setYAxisLabel(String yLabel)
           
 
Methods inherited from class org.eclipse.hudson.graph.GraphSupport
all, getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

multiStageTimeSeries

public List<org.eclipse.hudson.graph.MultiStageTimeSeries> multiStageTimeSeries
Constructor Detail

JFreeChartSupport

@DataBoundConstructor
public JFreeChartSupport()
Method Detail

setChartType

public void setChartType(int chartType)
Specified by:
setChartType in class org.eclipse.hudson.graph.GraphSupport

setTitle

public void setTitle(String title)
Specified by:
setTitle in class org.eclipse.hudson.graph.GraphSupport

setXAxisLabel

public void setXAxisLabel(String xLabel)
Specified by:
setXAxisLabel in class org.eclipse.hudson.graph.GraphSupport

setYAxisLabel

public void setYAxisLabel(String yLabel)
Specified by:
setYAxisLabel in class org.eclipse.hudson.graph.GraphSupport

setMultiStageTimeSeries

public void setMultiStageTimeSeries(List<org.eclipse.hudson.graph.MultiStageTimeSeries> multiStageTimeSeries)
Specified by:
setMultiStageTimeSeries in class org.eclipse.hudson.graph.GraphSupport

createChart

public void createChart()

render

public BufferedImage render(int width,
                            int height)
Specified by:
render in class org.eclipse.hudson.graph.GraphSupport

setData

public void setData(org.eclipse.hudson.graph.DataSet data)
Specified by:
setData in class org.eclipse.hudson.graph.GraphSupport

getImageMap

public String getImageMap(String id,
                          int width,
                          int height)
Specified by:
getImageMap in class org.eclipse.hudson.graph.GraphSupport


Copyright © 2004-2012 Hudson. All Rights Reserved.