Content deleted Content added
m Pppery moved page Module:Dot graph/sandbox to Module:Dot chart/sandbox without leaving a redirect: Module move cleanup |
BrandonXLF (talk | contribs) Don't add border:none to improve compatibility with skin dark mode CSS |
||
(3 intermediate revisions by the same user not shown) | |||
Line 161:
:css('position','absolute')
:css('bottom','0%')
:css('left',table.concat({((100/xLCount*k-100/xLCount)*0.85+15)-4,'%'}))
:wikitext(v)
table.insert(dotTable,tostring(div))
Line 170:
div
:css('position','absolute')
:css('bottom',table.concat({(((((100/yLCount*k-
:css('left','0%')
:wikitext(v)
Line 248:
:css('text-align','center')
:wikitext(args["top"])
end▼
if not args["top"] and size/2 > 10 then▼
end
Line 263 ⟶ 257:
:wikitext(p.data(frame))
div -- Creates box
:css('width', args["width"] or '240px')
:css('display', 'inline-block')
:css('float', args["align"] or 'right')
:css('margin', args["margin"] or '2px')
:css('padding', args["padding"] or table.concat({size/2,'px'}))
:css('background',args["color"] or 'none')▼
:wikitext(tostring(top))
:wikitext(tostring(container))
:wikitext(legend(args))
:wikitext(args["bottom"])
▲ end
if yesno(args['border']) ~= false then -- Creates box border
|