ItemPercentageFunction

Description

Calculates the percentage value of a numeric field. The total sum is taken and divided by the number of items counted.

This function expects its input values to be java.lang.Number instances.

Example

<function class="org.jfree.report.function.ItemPercentageFunction" name="Item_Percentage">
  <properties>
    <property name="field">ACTUAL</property>
  </properties>
</function>