com.atlassian.bamboo.charts.utils
Class ChartUtil

java.lang.Object
  extended by com.atlassian.bamboo.charts.utils.ChartUtil

public class ChartUtil
extends java.lang.Object


Field Summary
static java.awt.Color COLOR_BLUE_OUTLINE
           
static java.awt.Color COLOR_BLUE_PAINT
           
static java.awt.Color COLOR_CYAN_OUTLINE
           
static java.awt.Color COLOR_CYAN_PAINT
           
static java.awt.Color COLOR_GREEN_OUTLINE
           
static java.awt.Color COLOR_GREEN_PAINT
           
static java.awt.Color COLOR_ORANGE_PAINT
           
static java.awt.Color COLOR_PURPLE_OUTLINE
           
static java.awt.Color COLOR_PURPLE_PAINT
           
static java.awt.Color COLOR_RED_OUTLINE
           
static java.awt.Color COLOR_RED_PAINT
           
static java.awt.Color COLOR_YELLOW_OUTLINE
           
static java.awt.Color COLOR_YELLOW_PAINT
           
static int PORTLET_IMAGE_HEIGHT
           
static int PORTLET_IMAGE_WIDTH
           
static int REPORT_IMAGE_HEIGHT
           
static int REPORT_IMAGE_WIDTH
           
static java.awt.Font VERDANA_PLAIN_9
           
 
Constructor Summary
ChartUtil()
           
 
Method Summary
static org.jfree.chart.JFreeChart createCombinedXYPlotDateChart(org.jfree.chart.plot.XYPlot upperPlot, org.jfree.chart.plot.XYPlot lowerPlot, java.lang.String chartTitle)
           
static org.jfree.chart.JFreeChart createCombinedXYPlotNumberChart(org.jfree.chart.plot.XYPlot upperPlot, org.jfree.chart.plot.XYPlot lowerPlot, java.lang.String chartTitle, int lowerBound, int upperBound)
           
static org.jfree.chart.JFreeChart createTimeSeriesChart(java.lang.String chartTitle, org.jfree.data.xy.XYDataset dataSet, java.lang.String xAxisLabel, java.lang.String yAxisLabel, org.jfree.chart.labels.XYToolTipGenerator toolTipGenerator, org.jfree.chart.labels.XYSeriesLabelGenerator seriesLabelGenerator)
           
static org.jfree.chart.JFreeChart generateBarChart(org.jfree.data.category.CategoryDataset dataset, java.lang.String chartTitle, java.lang.String yLabel, java.lang.String xLabel)
           
static org.jfree.chart.renderer.xy.AbstractXYItemRenderer populateRendererDefaults(org.jfree.chart.labels.XYToolTipGenerator toolTipGenerator, org.jfree.chart.labels.XYSeriesLabelGenerator seriesLabelGenerator, org.jfree.chart.renderer.xy.AbstractXYItemRenderer renderer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTLET_IMAGE_HEIGHT

public static final int PORTLET_IMAGE_HEIGHT
See Also:
Constant Field Values

PORTLET_IMAGE_WIDTH

public static final int PORTLET_IMAGE_WIDTH
See Also:
Constant Field Values

REPORT_IMAGE_HEIGHT

public static final int REPORT_IMAGE_HEIGHT
See Also:
Constant Field Values

REPORT_IMAGE_WIDTH

public static final int REPORT_IMAGE_WIDTH
See Also:
Constant Field Values

COLOR_RED_OUTLINE

public static final java.awt.Color COLOR_RED_OUTLINE

COLOR_RED_PAINT

public static final java.awt.Color COLOR_RED_PAINT

COLOR_BLUE_OUTLINE

public static final java.awt.Color COLOR_BLUE_OUTLINE

COLOR_BLUE_PAINT

public static final java.awt.Color COLOR_BLUE_PAINT

COLOR_GREEN_OUTLINE

public static final java.awt.Color COLOR_GREEN_OUTLINE

COLOR_GREEN_PAINT

public static final java.awt.Color COLOR_GREEN_PAINT

COLOR_YELLOW_OUTLINE

public static final java.awt.Color COLOR_YELLOW_OUTLINE

COLOR_YELLOW_PAINT

public static final java.awt.Color COLOR_YELLOW_PAINT

COLOR_PURPLE_OUTLINE

public static final java.awt.Color COLOR_PURPLE_OUTLINE

COLOR_PURPLE_PAINT

public static final java.awt.Color COLOR_PURPLE_PAINT

COLOR_CYAN_OUTLINE

public static final java.awt.Color COLOR_CYAN_OUTLINE

COLOR_CYAN_PAINT

public static final java.awt.Color COLOR_CYAN_PAINT

COLOR_ORANGE_PAINT

public static final java.awt.Color COLOR_ORANGE_PAINT

VERDANA_PLAIN_9

public static final java.awt.Font VERDANA_PLAIN_9
Constructor Detail

ChartUtil

public ChartUtil()
Method Detail

generateBarChart

public static org.jfree.chart.JFreeChart generateBarChart(org.jfree.data.category.CategoryDataset dataset,
                                                          java.lang.String chartTitle,
                                                          java.lang.String yLabel,
                                                          java.lang.String xLabel)

createCombinedXYPlotNumberChart

public static org.jfree.chart.JFreeChart createCombinedXYPlotNumberChart(org.jfree.chart.plot.XYPlot upperPlot,
                                                                         org.jfree.chart.plot.XYPlot lowerPlot,
                                                                         java.lang.String chartTitle,
                                                                         int lowerBound,
                                                                         int upperBound)

createCombinedXYPlotDateChart

public static org.jfree.chart.JFreeChart createCombinedXYPlotDateChart(org.jfree.chart.plot.XYPlot upperPlot,
                                                                       org.jfree.chart.plot.XYPlot lowerPlot,
                                                                       java.lang.String chartTitle)

createTimeSeriesChart

public static org.jfree.chart.JFreeChart createTimeSeriesChart(java.lang.String chartTitle,
                                                               org.jfree.data.xy.XYDataset dataSet,
                                                               java.lang.String xAxisLabel,
                                                               java.lang.String yAxisLabel,
                                                               org.jfree.chart.labels.XYToolTipGenerator toolTipGenerator,
                                                               org.jfree.chart.labels.XYSeriesLabelGenerator seriesLabelGenerator)

populateRendererDefaults

public static org.jfree.chart.renderer.xy.AbstractXYItemRenderer populateRendererDefaults(org.jfree.chart.labels.XYToolTipGenerator toolTipGenerator,
                                                                                          org.jfree.chart.labels.XYSeriesLabelGenerator seriesLabelGenerator,
                                                                                          org.jfree.chart.renderer.xy.AbstractXYItemRenderer renderer)


Copyright © 2010 Atlassian. All Rights Reserved.