A.4. Using Samples

The following table lists for each sample, the required data source and optional configuration steps. A detailed description of each sample can be found at the following address:

http://jasperreports.sourceforge.net/samples/index.html

Table A.1. Samples

SampleData SourceConfiguration
BarbecueSamples Empty 
ChartsSamples DatabaseEdit the parameter MaxOrderID and set its Default Value Expression to new Integer(12500)
CrosstabsSamples Database 
Data SourceSamples Custom 
FontsSamples Empty 
GroovySamples Empty 
HorizontalSamples DatabaseEdit the parameter MaxOrderID and set its Default Value Expression to new Integer(100000)
HyperlinkSamples Empty 
I18NSamples Empty 
ImagesSamples Empty 
JasperSamples DatabaseEdit the parameter MaxOrderID and set its Default Value Expression to new Integer(100000)
JChartsSamples Empty 
JFreeChartSamples Empty 
LandscapeSamples Empty 
NoPageBreakSamples Database 
QuerySamples Database 
RotationSamples Empty 
ScriptletSamples Database 
ShapesSamples Empty 
StretchSamples Empty 
StyledTextSamples Empty 
SubreportSamples Database 
TableSamples EmptyIt is recommended to use an empty data source with 50 rows for this sample.
TableOfContentsSamples Database 
XMLDataSourceSamples XML