AnnualDataSummary: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
93 bytes removed ,  20:58, 13 April 2018
no edit summary
No edit summary
No edit summary
Line 67: Line 67:
:for '''JavaScript''' version the path should start from where the HTML will be stored.
:for '''JavaScript''' version the path should start from where the HTML will be stored.
* (JS Version only)  '''tableDiv''' - the HTML element ''id attribute'' on your webpage to insert the table into
* (JS Version only)  '''tableDiv''' - the HTML element ''id attribute'' on your webpage to insert the table into
* (both versions) '''field_delimiter''' - the symbol separating each of your fields in the dayfile.txt. For most people this is a '''comma''' but (if you use comma to separate integer and decimal parts of real numbers) it could be a semi-colon (''';''') or other symbol.
* (both versions) '''field_delimiter''' - the symbol separating each of your fields in the dayfile.txt. For most people this is a '''comma''' but may also be a period ('''.''').
* (both versions) '''date_delimiter''' - the symbol separating your date format. In the UK this is '''/''' however in other countires it may be '''-'''
* (both versions) '''date_delimiter''' - the symbol separating your date format. In the UK this is '''/''' however in other countires it may be '''-'''


Change as needed, save and test
Change as needed, save and test  
 
= Usage  =
= Usage  =
Along the top will be a menu of the (in original version) six data sets available and on the top left of the table is the year currently being shown. Change either the year, or click one of the top buttons to change the data set. Depending on the speed of your internet connection, and your browser, the new web page may take a few seconds to be processed as it involves: re-reading the dayfile.txt file, redrawing the table, and inserting the values.  
Along the top will be a menu of the (in original version) six data sets available and on the top left of the table is the year currently being shown. Change either the year, or click one of the top buttons to change the data set. Depending on the speed of your internet connection, and your browser, the new web page may take a few seconds to be processed as it involves: re-reading the dayfile.txt file, redrawing the table, and inserting the values.  
5,838

edits

Navigation menu