Java Reference
In-Depth Information
Chart Datasets
Another common property across all chart types is a <dataset> . Each chart type
contains different sub-elements to define a chart's expressions that define the data
used to generate the chart, yet all of these sub-elements contain a <dataset> element
that defines when the chart's expressions are evaluated and reset.
Attributes of the <dataset> Element
The following sections describe all of the attributes for the JRXML <dataset> element.
incrementType
This attribute determines when to recalculate the value of the chart expression. The
valid values for this attribute are listed below:
Column : The chart expression is recalculated at the end of each column.
Group : The chart expression is recalculated when the group specified by
incrementGroup changes.
None : The chart expression is recalculated with every record. This is the
default value.
Page : The chart expression is recalculated at the end of every page.
Report : The chart expression is recalculated once, at the end of the report.
incrementGroup
When the incrementType is Group , this attribute determines the name of the group
at which the chart expression is recalculated. The value for this attribute must match
the name of a group declared in the JRXML report template.
resetType
This attribute determines when the value of the chart expression is to be reset. The
valid values for this attribute are listed below:
Column : The chart expression is reset at the beginning of each column.
Group : The chart expression is reset when the group specified by
incrementGroup changes.
None : The chart expression is never reset.
Page : The chart expression is reset at the beginning of every page.
Report : The chart expression is reset once, at the beginning of the report.
This is the default value.
 
Search WWH ::




Custom Search