Pentaho Reporting relies on JFreeChart, an open source Java chart library, for charting visualization within reports. From within Report Designer, many chart types are supported. In the chart editor, two areas of properties appear when editing a chart. The first area of properties is related to chart rendering, and the second tabbed area of properties is related to the data that populates a chart.
Following is the screenshot of the chart editor within Pentaho Report Designer:
All chart types receive their data from three general types of datasets. The first type is known as a Category Dataset , where the dataset series and values are grouped by categories. A series is like a sub-group. If the exact category and series appear, the chart will sum the values into a single result. The following table is a simple example of a category dataset:
Category |
Series |
Sale Price |
---|---|---|
Store 1 Sales |
Cash |
$14 |
Store 1 Sales |
Credit |
$12 |
Store 2 Sales |
Cash |
$100 |
Store 2 Sales |
Credit |
$120... |