Charts Definition Language (CDL): Difference between revisions

m
mNo edit summary
Line 50: Line 50:
All capital written words in the Chart block section are keywords (reserved words) and have meaning.
All capital written words in the Chart block section are keywords (reserved words) and have meaning.


The following PlotVariables are also reserved words:
==== Plotvariables ====
The following PlotVariables are reserved words:


==== With the RECENT qualifier ====
===== With the RECENT qualifier =====
       "InsideTemp", "Dewpoint", "ApparentTemp", "FeelsLike", "WindChill", "HeatIndex","Temperature", "Humidex",
       "InsideTemp", "Dewpoint", "ApparentTemp", "FeelsLike", "WindChill", "HeatIndex","Temperature", "Humidex",
       "WindGust", "WindSpeed",
       "WindGust", "WindSpeed",
Line 62: Line 63:
       "EvapoTranspiration"
       "EvapoTranspiration"


==== With the ALL qualifier ====
===== With the ALL qualifier =====


       "MinTemp", "MaxTemp", "AverageTemp", "WindChill", "MaxDewpoint", "MinDewpoint","MaxFeelsLike", "MinFeelsLike",  
       "MinTemp", "MaxTemp", "AverageTemp", "WindChill", "MaxDewpoint", "MinDewpoint","MaxFeelsLike", "MinFeelsLike",  
Line 72: Line 73:
       "HeatingDegreeDays","CoolingDegreeDays","EvapoTranspiration"
       "HeatingDegreeDays","CoolingDegreeDays","EvapoTranspiration"


==== Graph Types ====
==== Types ====
===== Graph Types =====
The following graphs are possible  
The following graphs are possible  
       Line, SpLine, Area, Scatter, Column, ColumnRange
       Line, SpLine, Area, Scatter, Column, ColumnRange
Line 80: Line 82:
ColumnRange only works for DAILY and ALL range specifiers. If the Max and Min lines of the range must be shown, they need to be specified as a separate line. The range can be specified for either Min or Max, the range will automatically be applied and no line will be shown. The ColumnRange is valid for all variables in the datafile with a Max/Min range: ''Temperature, Dewpoint, FeelsLike'' (and other derivatives), ''Barometer'' and ''Humidity''. Other variables will generate an error.
ColumnRange only works for DAILY and ALL range specifiers. If the Max and Min lines of the range must be shown, they need to be specified as a separate line. The range can be specified for either Min or Max, the range will automatically be applied and no line will be shown. The ColumnRange is valid for all variables in the datafile with a Max/Min range: ''Temperature, Dewpoint, FeelsLike'' (and other derivatives), ''Barometer'' and ''Humidity''. Other variables will generate an error.


==== Axis Types ====
===== Axis Types =====
The following Axis are possible.  
The following Axis are possible.  
       Temp, Wind, Distance, Hours, Solar, UV, Rain, Rrate, Pressure, Humidity, DegreeDays, EVT
       Temp, Wind, Distance, Hours, Solar, UV, Rain, Rrate, Pressure, Humidity, DegreeDays, EVT
Line 88: Line 90:
In future a generic (without title or unit) Axis will selectable to accommodate plotting in combination with other variables.
In future a generic (without title or unit) Axis will selectable to accommodate plotting in combination with other variables.


==== Stats Types ====
==== Other Types ====
The STATS keywords requires a ''Plotvariable'' on which to apply the statistics and a method to apply.
For other types such as STATS types (or methods) and FUNCTION types for EVAL, see those respective pages.
 
The following statistical methods are available in the ChartsCompiler:
      SMA
#SMA - [https://en.wikipedia.org/wiki/Moving_average#Simple_moving_average Simple Moving Average]
 
-- To be Continued --


==== Explanation of the definition Keywords ====
==== Explanation of the definition Keywords ====