Class Chart2D

java.lang.Object
org.bgerp.plugin.report.model.chart.Chart
org.bgerp.plugin.report.model.chart.Chart2D
All Implemented Interfaces:
Titled
Direct Known Subclasses:
ChartBar, ChartPie

public abstract class Chart2D extends Chart
Two dimensional chart. One column with categories, another one with values.
  • Field Details

    • categories

      protected final Column categories
  • Constructor Details

    • Chart2D

      public Chart2D(String ltitle, Column categories)
  • Method Details

    • prepareData

      protected Map<String,Integer> prepareData(Data data)
      Aggregate values column by categories.
      Parameters:
      data -
      Returns: