Modulo:Graph/sandbox/Configurazione: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
r |
r |
||
Riga 15:
name = 'nome',
internal_legend = 'legenda interna',
external_legend = 'legenda esterna',
other = 'altri',
color_other = 'colore_altri',
Line 56 ⟶ 57:
yTitle = 'titolo y#',
colors = 'colori',
colorsByGroup = 'colori per gruppo x',
strokeThickness = 'spessore linee',
NoTracking = {'nocat'}
}
chart_config.interpolate = { monotone= true, linear= true, ['step-before']= true, ['step-after']= true,
basis= true, ['basis-open']= true, ['basis-closed']= true, bundle= true,
cardinal= true, ['cardinal-open']= true, ['cardinal-closed']= true }
Line 72 ⟶ 74:
-- Default colors from https://github.com/mbostock/d3/wiki/Ordinal-Scales#categorical-colors
chart_config.colors_palette = {
category10 = {
'1f77b4', 'ff7f0e', '2ca02c', 'd62728', '9467bd',
'8c564b', 'e377c2', '7f7f7f', 'bcbd22', '17becf'
},
category20 = {
'1f77b4', 'aec7e8', 'ff7f0e', 'ffbb78', '2ca02c',
'98df8a', 'd62728', 'ff9896', '9467bd', 'c5b0d5',
Line 88 ⟶ 90:
width = 400,
height = 200,
background_color = white,
yGrid = true,
Line 107 ⟶ 104:
Discussioni_modulo = true,
Discussioni_template = true };
linea = 'line',▼
area = 'area' ,▼
istogramma = 'rect',▼
chart_config.graph_type = {
line =
area =
rect =
stackedline = {"line", true},
stackedarea = {"area", true},
stackedrect = {"rect", true},
['linea cumulativa'] = {"line", true},
['istogramma cumulativo'] = {"rect", true},
}
|