AnnualDataSummary: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
2 bytes removed ,  21:00, 13 April 2018
no edit summary
No edit summary
No edit summary
Line 136: Line 136:
*The first element, in this case 'maxtemp' -- is a system variable to identify the data set, used for the URL parameter option, used by the ''Switch'' coding (so any change here needs to be reflected there), and also tested elsewhere in the code (in the Rainfall and Windgust data sets a particular style is applied to their zero values).
*The first element, in this case 'maxtemp' -- is a system variable to identify the data set, used for the URL parameter option, used by the ''Switch'' coding (so any change here needs to be reflected there), and also tested elsewhere in the code (in the Rainfall and Windgust data sets a particular style is applied to their zero values).


However, if you add a new data set, then your new first element should be a unique identifier.
However, if you add a new dataset, then your new first element should be a unique identifier.
*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  


If you add a new data set, remember to consider how many buttons can be fitted across the top of the table, you may wish to split into multiple rows.
If you add a new dataset, remember to consider how many buttons can be fitted across the top of the table, you may wish to split into multiple rows.
*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 set' change the 'true' to 'false' in the 'rainfall' 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 data set' change the 'true' to 'false' in the 'rainfall' element of the variable. (true/false MUST be lowercase)
5,838

edits

Navigation menu