Class StackedBarChartGenerator

java.lang.Object
com.atlassian.jira.charts.jfreechart.StackedBarChartGenerator
All Implemented Interfaces:
ChartGenerator

public class StackedBarChartGenerator extends Object implements ChartGenerator
Creates Histogram charts. These are essentially bar charts, however histograms in JFreechart deal better with dates along the X-axis.
Since:
v4.0
  • Constructor Details

    • StackedBarChartGenerator

      public StackedBarChartGenerator(org.jfree.data.category.CategoryDataset dataset, String yLabel, I18nBean I18nBean)
  • Method Details

    • generateChart

      public ChartHelper generateChart()
      Description copied from interface: ChartGenerator
      Generates the chart and will produce a ChartHelper that can be used to access the chart location and other information.
      Specified by:
      generateChart in interface ChartGenerator
      Returns:
      a ChartHelper to access all the chart's details.