AnnualDataSummary: Difference between revisions

72 bytes added ,  15:45, 28 November 2012
m
Line 88: Line 88:
*''''label_items'''' is a list of all possible data sets to be displayed. Again you can change these to suit. However, the format is a little more involved and you should take some care. Example,....
*''''label_items'''' is a list of all possible data sets to be displayed. Again you can change these to suit. However, the format is a little more involved and you should take some care. Example,....
<pre>['maxtemp','Max Temp','Maximum Temperature',true]</pre>  
<pre>['maxtemp','Max Temp','Maximum Temperature',true]</pre>  
*The first element, in this case 'maxtemp' -- do NOT change, this is a system variable to identify the data
*The first element, in this case 'maxtemp' -- must remain '''unchanged''', this is a system variable to identify the dataset and tested elsewhere in the code
*Second, 'Max Temp' is the text to be displayed in the button at the top of the table. You may change this to your own language  
*Second, '''Max Temp''' is the text to be displayed in the ''button'' at the top of the table. You may change this to your own language  
*Third, 'Maximum Temperature' is the text shown at the top of the table to describe the current data set; again you may change this  
*Third, '''Maximum Temperature''' is the text shown at the top of the table to ''describe the current data set''; again you may change this  
*Finally, 'true' will display this button at the top; 'false' will hide it. Therefore, if you do not wish to allow users to jump to the 'Rainfall' data change the 'true' to 'false' in the rianfall element of the variable. true/false MUST be lowercase
*Finally, 'true' will display this button at the top; 'false' will hide it. Therefore, if you do not wish to allow users to jump to the 'Rainfall dataset' change the 'true' to 'false' in the 'rainfall' element of the variable. (true/false MUST be lowercase)


<br>  
<br>


== Opening a specific data set  ==
== Opening a specific data set  ==
5,838

edits