statistic.columnGroup.perCent-based statistics

This element is used for showing absolute and percentage values for non-enumeration values.

Location

XML file in the xml folder

Procedure

  1. Copy the <evaluation> element from the default configuration to the customizing file.
  2. Adapt a <statistic.columnGroup.perCent> element. You can add the individual columns of the group using <statistic.column.value> elements. If your calculation is based on <statistic.calculator id="value"/>, you can use the value of the calculation attribute to control the calculation of the column values.

Remark

The calculation attribute can have the following values:

count: The value of the column is increased by 1 for each value found in the data source.

sum: All values of the data source are added up. The values of the data source must be of the Number type.

By default, each column group contains a balance column and a pie chart. The balance column contains the sum of values of all columns that are configured using the <statistic.column.value> element. Each sector of a pie chart represents a configured column.

Documents

evaluations.xsd, evaluations_*.xml

Example

ModifyStatistic

\WEB-INF\config\custom\xml\evaluation_custom.xml: Add custom value column perCent