Charts Definition Language (CDL): Difference between revisions

m
Line 35: Line 35:


=== Keywords ===
=== Keywords ===
The following PlotVariables are reserved words:
All capital written words in the Chart block section are keywords (reserved words) and have meaning.
 
The following PlotVariables are also reserved words:


==== With the RECENT qualifier ====
==== With the RECENT qualifier ====
Line 60: Line 62:
The following charts are possible and can be combined within a chart except for the Scatter
The following charts are possible and can be combined within a chart except for the Scatter
       Line, SpLine, Area, Scatter, Column
       Line, SpLine, Area, Scatter, Column
==== Explanation of the definition Keywords ====
#CHART: Starts a chart definition
#TITLE: Starts the title. All words until the next keyword comprise the title of the chart
#CONNECTSto: The integer numbers which follow CONNECTSto represent a pane in the realtime dashboard. When clicked on that pane this chart appears.
#PLOT: Starts the plot specification using one of the possible variables
#ALL: Defines the variable to be taken from the [[Dayfile.txt|Dayfile]] and all data for that variable will be plotted (Note that the CMX parameter ''ChartMaxDays'' will not be used)
#RECENT: Defines the variable to be governed by the CMX parameter ''GraphHours'' and are similar to the CMX RECENT graphs (though not equal).
#AS: Defines the type of charting for that variable.
#COLOUR: Defines the colour of that variable.
#ZINDEX: Defines the zIndex plane for that variable.
#LINEWIDTH: Defines the linewidth for that variable.
#OPACITY: Defines the opacity for that variable (important for area and column graphs)
#ENDCHART: End the chart definition
The keywords for the actual parameters and the Graph Types speak for themselves.


== Additional details ==
== Additional details ==