Module:Television ratings graph: Difference between revisions

Content deleted Content added
Subtracting the averages appears to have fixed it.
Further fixes. I know i suck at coding...
Line 84:
local defaultwidth
-- Subtract averages if included (they should be equal to the number of seasons).
if vaverage ~== ''1 then
if numberargs < 20 then defaultwidth = (numberargs-num_seasons)*13+98
elseif numberargs >= 20 and numberargs < 50 then defaultwidth = (numberargs-num_seasons)*12+98