Example PIN File Definition

The following example is a simple Target Limit Report definition in a PIN file that creates the above chart.

 /*
  * Forest renewal limit report
  */
      reportWriter.addReport(new TargetLimitReport("silv_limits_PO_Intn1", 
                             "Percentage of hectares treated for PO1_Intn1", 
                             control.getTargetTable(),
                             "%",
                             "Forest Unit & Treatment",
                             "Percentage of hectares treated",
                             "ratio.silvfu.PO1_Intn1",
                             false,
                             ""
                             ));
      

In this particular example, a TargetLimit report was added to the main report folder with the filename "silv_limits_PO1_Intn1". NO file extension was specified here as the Report Writer will automatically create three separate files: "silv_limits_PO1_Intn1.html", "silv_limits_PO1_Intn1.png", and silv_limits_PO1_Intn1.csv. The title of the report, "Percentage of hectares treated for PO1_Intn1" will appear at the top of the HTML and PNG sub-reports, as well as in the Index Report, and the directory tree. The units "%" will appear on the Y-axis of the PNG bar chart.The x-axis will be labeled with "Forest Unit & Treatment" and the actual value achieved in this scenario, which is illustrated by the line on the graph, will be labeled with "Percentage of hectares treated".

The information for this report was derived from the Target Table (control.getTargetTable()) using the column pattern of "ratio.silvfu.PO1_Intn1".

All planning periods were represented in this report, along with the initial conditions. And as the last line was labeled as "false", the x-axis is represented by periods, not years.