Modulo:Graph/sandbox/Configurazione
< Modulo:Graph | sandbox
chart_config = {}
-- ===============================================================
-- Localizzazione dei nomi dei parametri
-- ===============================================================
chart_config.localization = {
label = 'etichetta',
show_label = 'mostra_etichetta',
thumb = 'allineamento',
value = 'valore',
color = 'colore',
caption = 'didascalia',
other = 'altri',
radius = 'raggio',
name = 'nome',
legend = 'legenda',
other = 'altri',
color_other = 'colore_altri',
label_other = 'etichetta_altri',
normalize = 'normalizza',
debug_json = 'debug_json',
basemap = 'mappa base',
scale = 'scala',
projection = 'proiezione',
defaultValue = 'default',
scaleType = 'tipo scala',
domainMin = 'minimo dominio',
domainMax = 'massimo dominio',
colorScale = 'scala colori',
width = 'larghezza',
height = 'altezza',
type = 'tipo',
interpolate = 'interpolazione',
xAxisTitle = 'titolo asse x',
yAxisTitle = 'titolo asse y',
xAxisMin = 'minimo asse x',
xAxisMax = 'massimo asse x',
yAxisMin = 'minimo asse y',
yAxisMax = 'massimo asse y',
xAxisFormat = 'formato asse x',
yAxisFormat = 'formato asse y',
xGrid = 'griglia asse x',
yGrid = 'griglia asse y',
xAxisPrimaryThick = 'tacche asse x',
yAxisPrimaryThick = 'tacche asse y',
xAxisSecondaryThick = 'tacche secondarie asse x',
yAxisSecondaryThick = 'tacche secondarie asse y',
yTitle = 'y#Title',
colors = 'colori',
NoTracking = {'nocat'},
}
chart_config.line_type = { 'linear', 'step-before', 'step-after', 'basis', 'basis-open', 'basis-closed', 'bundle', 'cardinal', 'cardinal-open', 'cardinal-closed', 'monotone' }
chart_config.true_values = { s=true, ['sì']=true, si=true, y=true, yes=true}
chart_config.decimal_separator = ","
chart_config.list_separator = ";"
chart_config.default_colors = { 'red', 'green', 'blue', 'yellow', 'fuchsia', 'aqua', 'brown', 'orange', 'purple'}
chart_config.default_color = 'sienna'
chart_config.radius_default = 95
chart_config.uncategorized_namespaces = {
Utente = true,
Discussioni_utente = true,
Discussione = true,
Discussioni_modulo = true,
Discussioni_template = true };
chart_config.errors_category = 'Errori di compilazione del template Grafico a linee'
return chart_config