These examples apply to 1.1 and later of Pentaho.
Line, Bar, and Area Chart Data Collector Example
<expression class="org.pentaho.plugin.jfreereport.reportcharts.PieSetCollectorFunction" name="ChartDataSource"> <properties> <property name="group">RegionGroup</property><!-- Only use if summaryOnly=true --> <property name="seriesColumn">REGION</property> <property name="valueColumn">RegionBudget</property> <property name="summaryOnly">true</property> </properties> </expression>