1,738
edits
When menu and includes are ready all required graphs are generated together with their data. Code generation and data selection is a one pass process.
=== Defaults, Colours and Language ===
==== Defaults ====
Defaults are taken from the Highcharts theme which is current. See the page for the [[HighCharts themes|HighCharts theme]].
==== Colours ====
NOTE: the colours of the lines in the [[Website Generator]] Home page have their own specification, see the [[Website Generator]] and [[Charts Compiler]].
A very important thing with the graphs is the '''Colour''' selection. For some charts, users can specify colours in multiples ways for other charts no specification is possible. In general for line charts, the user can choose the colour per line, for specific charts like the heatmap no choice is possible. See each chart description for the specification. If any colour specification in reality is not according to this specification, please report as a bug (either in documentation of in software)
Where applicable, use is made of the Highcharts colour specification.
#A set of default colours can be specified in the parameter section. For the WindRose a specific selection can be specified.
#When the selection possibility set to empty a fallback is made to the [[HighCharts themes|HighCharts theme]] in use.
#When no colours are specified in the theme, then the user relies on the implicit Highcharts defaults.
==== Language ====
For the '''Language''' in the charts the user must make a distinction between the texts ''CumulusUtils'' generates for titles, series names and tooltips. Those texts are found in the [[Language_in_CumulusUtils|CUstringsXX.txt file]] and have to be translated by the user. For Locale specific and ruled translations (like weekdays, months etc...) ''CumulusUtils'' generates a file called ''HighchartsLanguage.js'' in which names of days, months and abbreviated month names are translated conform the Locale the user specifies. These are set as options to Highcharts and thus will always be in the local language.
This file may also be used for other Locale specific attributes like separators, if so, it will be specified here.
=== How the parameters work ===
|