Added a method to the Control class to specify unit labels and conversion factors other than for metres and hectares. This method can be used to set Patchworks up so that indicators and reports (such as the shape patch metric and the route cost report) will work correctly with other measuring system (such as feet, miles and acres). See the API documentation for the Control.setConversionFactors method for further details.
Fixed a reporting correctness issue. A bug was identified in one of the route scheduling primitives. In some situations where routes were being used this error could result in incorrect values being displayed in the block table. Scheduling correctness was not affected.
Minor changes and fixes:
Line charts now accept a new parameter to control the width of the line. See the Report API documentation for a description of the chart.series.linewidth parameter. Also improved line chart handling of missing values.
Bar chart legends are now sorted in the same order as the bars are presented. Previously they were presented in reverse order.
Stacked bar charts in category reports now have a black border around the bars, similar to the other bar chart reports.
The Category by Category report now has a new method to set the label displayed on the X-axis. If no label is supplied the report will display the category expression.
Modified the 'createSummaryTable' method of the RamAttributeStore class so that it optionally accepts a parameter to select the records to be summarized. Previously the method used the records that were selected in the table. See the API documentation for more details.
Changed the Period Expression report so that the columns are displayed in the same order as they were defined. Previously they were being sorted in to alphabetical order.
Fixed a regression in the application of the patch size threshold parameter.
Fixed a problem in the HTML table portion of the reports by period. The 'Year' field was being calculated incorrectly.