Charts Definition Language (CDL): Difference between revisions

m
Line 28: Line 28:
   PLOT blocks repeated
   PLOT blocks repeated
     [...]
     [...]
   ENDCHART
   ENDCHART OUTPUT <filespec>


   CHART […] ENDCHART blocks repeated
   CHART […] ENDCHART blocks repeated


Plot blocks can be repeated as many times as you wish but different parameters can result in many yAxis (making the plot area smaller) and the chart may become crowded and unreadable. Experiment and try-out.
Plot blocks can be repeated as many times as you wish but different parameters can result in many yAxis (making the plot area smaller) and the chart may become crowded and unreadable. Experiment and try-out.
=== 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)
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.
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.


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