Class ChartUtil

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

public class ChartUtil extends Object
  • Field Details

    • PORTLET_IMAGE_HEIGHT

      public static final int PORTLET_IMAGE_HEIGHT
      See Also:
    • PORTLET_IMAGE_WIDTH

      public static final int PORTLET_IMAGE_WIDTH
      See Also:
    • REPORT_IMAGE_HEIGHT

      public static final int REPORT_IMAGE_HEIGHT
      See Also:
    • REPORT_IMAGE_WIDTH

      public static final int REPORT_IMAGE_WIDTH
      See Also:
    • COLOR_RED_OUTLINE

      public static final Color COLOR_RED_OUTLINE
    • COLOR_RED_PAINT

      public static final Color COLOR_RED_PAINT
    • COLOR_BLUE_OUTLINE

      public static final Color COLOR_BLUE_OUTLINE
    • COLOR_BLUE_PAINT

      public static final Color COLOR_BLUE_PAINT
    • COLOR_GREEN_OUTLINE

      public static final Color COLOR_GREEN_OUTLINE
    • COLOR_GREEN_PAINT

      public static final Color COLOR_GREEN_PAINT
    • COLOR_YELLOW_OUTLINE

      public static final Color COLOR_YELLOW_OUTLINE
    • COLOR_YELLOW_PAINT

      public static final Color COLOR_YELLOW_PAINT
    • COLOR_PURPLE_OUTLINE

      public static final Color COLOR_PURPLE_OUTLINE
    • COLOR_PURPLE_PAINT

      public static final Color COLOR_PURPLE_PAINT
    • COLOR_CYAN_OUTLINE

      public static final Color COLOR_CYAN_OUTLINE
    • COLOR_CYAN_PAINT

      public static final Color COLOR_CYAN_PAINT
    • COLOR_ORANGE_PAINT

      public static final Color COLOR_ORANGE_PAINT
    • VERDANA_PLAIN_9

      public static final Font VERDANA_PLAIN_9
  • Constructor Details

    • ChartUtil

      public ChartUtil()
  • Method Details

    • generateBarChart

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

      public static org.jfree.chart.JFreeChart createCombinedXYPlotNumberChart(org.jfree.chart.plot.XYPlot upperPlot, org.jfree.chart.plot.XYPlot lowerPlot, 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, String chartTitle)
    • createTimeSeriesChart

      @NotNull public static @NotNull org.jfree.chart.JFreeChart createTimeSeriesChart(String chartTitle, org.jfree.data.xy.XYDataset dataSet, String xAxisLabel, 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)