11. The chart example explained

The reportChart.xre entry in the database contains an example that shows how to use J4L RChart within the designer. The usage of RChart involves 2 steps:

  1. First you have to design the chart independently of the FO Designer. The documentation for RChart is here

    http://www.java4less.com/charts/userguide/tutorialcontents.hml

    Optionally you can use the
    Visual Builder to design you chart.

    In any case the output of the chart designer process is a parameters file (see example\chart\stackedBar.txt) which contains the chart and some test data you have used during the development.

    We do not recommend to develop a new chart from scratch but take one of the existing example and modify it according to your needs. You can download the Rchart evaluation package and you will find many examples in the data\examples directory.
  2. in the second step you create your report, add a chart object and specify the following properties (see screenshot below):