Module:Television ratings graph: Difference between revisions

Content deleted Content added
I fail to remember why they were italicized...
No edit summary
Line 49:
local timeline = ''
local average = args.average and 1 or 0
local barwidth = (#args < 20 and 8 or #args > 75 and 6 or 7)
local season_title = args.season_title or 'Season'
local root = mw.html.create('div')
Line 95 ⟶ 96:
timeline = timeline .. "Legend = orientation:horizontal\n"
timeline = timeline .. "PlotData =\n"
timeline = timeline .. " width:7" .. barwidth .. "\n"
-- Add bars to timeline, one per viewer figure