Charts Definition Language (CDL): Difference between revisions

m
Line 167: Line 167:


The following axis are currently defined and implicit for the plot variables (the user has no options here):
The following axis are currently defined and implicit for the plot variables (the user has no options here):
#None
#'''None'''
#Temp - automatic scaling for min/max
#'''Temp''' - automatic scaling for min/max
#Pressure - scaling with a pseudo-fixed scale which means the min/max values of the scale are set to the min/max all time records found in ''alltime.ini''. Highcharts itself sets the scale values such that there is a tick at the end of the scale and the min/max values fall between the ticks at the end of the scale. If the pressure gets a lower/higher value the axis will adjust automatically. The idea is that any barometer you have at home has a fixed scale and with small variations there is little movement of the needle. However when the pressure starts falling/rising significantly it is very obvious. This behaviour is mimicked by CUtils (as far as possible)
#'''Pressure''' - scaling with a pseudo-fixed scale which means the min/max values of the scale are set to the min/max all time records found in ''alltime.ini''. Highcharts itself sets the scale values such that there is a tick at the end of the scale and the min/max values fall between the ticks at the end of the scale. If the pressure gets a lower/higher value the axis will adjust automatically. The idea is that any barometer you have at home has a fixed scale and with small variations there is little movement of the needle. However when the pressure starts falling/rising significantly it is very obvious. This behaviour is mimicked by CUtils (as far as possible)
#Rain - automatic scaling with minimum value of 0 and an initial maximum of 1 (to accommodate measurement in inches)
#'''Rain''' - automatic scaling with minimum value of 0 and an initial maximum of 1 (to accommodate measurement in inches)
#Rrate - automatic scaling with minimum value of 0 and an initial maximum of 1 (to accommodate measurement in inches)  
#'''Rrate''' - automatic scaling with minimum value of 0 and an initial maximum of 1 (to accommodate measurement in inches)  
#Wind - automatic scaling for min/max  
#'''Wind''' - automatic scaling for min/max  
#Direction - scaling is fixed for 0 to 360 degree. When only direction is plotted two axis are created: in degrees and in wind directions (N, E, S, W). When combined with another unit only the axis with wind directions is used.
#'''Direction''' - scaling is fixed for 0 to 360 degree. When only direction is plotted two axis are created: in degrees and in wind directions (N, E, S, W). When combined with another unit only the axis with wind directions is used.
#Humidity - scaling is fixed between 0 and 100
#'''Humidity''' - scaling is fixed between 0 and 100
#Solar - scaling is fixed between 0 and a rough estimate of the maximum theoretical value for radiation + 150. If the actual value goes beyond that, the scale will adjust.
#'''Solar''' - scaling is fixed between 0 and a rough estimate of the maximum theoretical value for radiation + 150. If the actual value goes beyond that, the scale will adjust.
#UV - automatic scaling for maximum, minimum is 0
#'''UV''' - automatic scaling for maximum, minimum is 0
#Hours - automatic scaling for maximum, minimum is 0
#'''Hours''' - automatic scaling for maximum, minimum is 0
#Distance - automatic scaling for maximum, minimum is 0
#'''Distance''' - automatic scaling for maximum, minimum is 0
#DegreeDays - automatic scaling for maximum, minimum is 0
#'''DegreeDays''' - automatic scaling for maximum, minimum is 0
#EVT - automatic scaling for maximum, minimum is 0
#'''EVT''' - automatic scaling for maximum, minimum is 0
#Free - has no title, unit or context associated with it. It just displays values. Automatic scaling for min/max.
#'''Free''' - has no title, unit or context associated with it. It just displays values. Automatic scaling for min/max.
#AQ - automatic scaling for maximum, minimum is 0
#'''AQ''' - automatic scaling for maximum, minimum is 0
#ppm - automatic scaling for maximum which starts at 500, minimum is 0. The default maximum is because the CO<sub>2</sub> value is around 420 (in 2022) outdoors.
#'''ppm''' - automatic scaling for maximum which starts at 500, minimum is 0. The default maximum is because the CO<sub>2</sub> value is around 420 (in 2022) outdoors.


Translations for the axis titles come from the [Website] section (until '''''EVT''''') and should require no additional effort.
Translations for the axis titles come from the [Website] section (until '''''EVT''''') and should require no additional effort.