Package org.bgerp.plugin.report.model.chart

# 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 Summary

  Fields
  Modifier and Type
  Field
  Description
  `protected final Column`
  `categories`

  ### Fields inherited from class org.bgerp.plugin.report.model.chart.Chart

  `ltitle`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `Chart2D(String ltitle, Column categories)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `protected Map<String,Integer>`
  `prepareData(Data data)`
  Aggregate values column by categories.

  ### Methods inherited from class org.bgerp.plugin.report.model.chart.Chart

  `colors, getTitle, json`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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: