Charts Definition Language (CDL): Difference between revisions

m
Line 35: Line 35:


=== Output specifier ===
=== Output specifier ===
An output file can be specified for each chart by putting ''OUTPUT <filename>'' after an ENDCHART. All charts from that point on will be written to that specified output until a new output is specified for another chart. If no chart is specified at all, all charts will be written to ''cumuluscharts.txt'' (the default output)
An output file can be specified for each chart by putting ''OUTPUT <filename>'' after an ENDCHART. All charts from that point on will be written to that specified output until a new output is specified for another chart. If no output is specified at all, all charts will be written to ''cumuluscharts.txt'' (the default output)


If you are using the website it is important to know that the first chart will always be used as the chart for the Home page button and that cannot be changed. If, however you specify an output on the first chart, that chart will be duplicated in the output you specify.
If you are using the website it is important to know that the first chart will always be used as the chart for the Home page button and that cannot be changed (the file is always ''cumuluscharts.txt''). If, however you specify an output on the first chart, that chart will be duplicated in the output you specify.


The output specifier gives the user the possibility to define charts as he likes and to place these in the menu wherever he likes. In the [[Website Generator]] the placements of the charts will be limited to the [[User Defined Menu]]. In modular use the user can do whatever he likes with the resulting files. In the website the charts request the datafiles in the current directory.
The output specifier gives the user the possibility to define charts as he likes and to place these in the menu wherever he likes. In the [[Website Generator]] the placements of the charts at the moment will be limited to the [[User Defined Menu]]. In modular use the user can do whatever he likes with the resulting files. In the website the charts require the datafiles to be in the current directory.


=== Keywords ===
=== Keywords ===