Example PIN File Definition

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

	    /*
	    * Route Cost Report
	    */
	    
	    reportWriter.addReport(control.getRouteCostReport("RouteRep/routeCost11North",
	                                                      "Cost of route to 11North",
	                                                      "destination.11North")); 
	  

In this particular example, a Route Cost Report was added to the main report folder "RouteRep" with the filename "routeCost11North". No file extension was specified here, as the the Report Writer will automatically create three seperate files: "routeCost11North.html", "routeCost11North.csv" and "routeCost11North.png". The title of the report is "Cost of route to 11North" and the route table destination.11North was used to create the report.