Modulo:Graph: differenze tra le versioni
Contenuto cancellato Contenuto aggiunto
aggiorno |
altre correzioni |
||
Riga 461:
-- Symbols scale
local symbolsScale
if type(args.symbols)
symbolsScale = { name = "symShape", type = "ordinal", range = end -- for bar charts with multiple series: each series is grouped by the x value, therefore the series need their own scale within each x group
local groupScale
Line 536 ⟶ 538:
shape = { scale = "symShape", field = "series" },
stroke = { scale = "color", field = "series" },
},
}
Line 542 ⟶ 543:
if args.symbol_size then symbolsMarks.properties.enter.size = { value = args.symbol_size } end
if alphaScale then
end
end
Line 667 ⟶ 668:
-- is not to use symbol.
if chart_arg.graph_type == "line" and not args:is_no('symbols') then
chart_arg.symbols = stringArray(args:value('symbols'
chart_arg.symbol_size = args:number('symbolSize', cfg.default.symbol_size)
end
|