User:Mlakustiak/sandbox

User:Mlakustiak/sandbox

← Previous revision Revision as of 05:25, 25 April 2026
Line 145: Line 145:
}}
}}


This graph shows the time periods each National Hockey League Team has been at the top of the hypothetical NHL Rankings.

'''NHL Ranking Leaders'''
ImageSize = width:200 height:1400
PlotArea = left:40 right:0 bottom:10 top:10

#Day after SCF
Define $enddate = 20/06/2026

DateFormat = dd/mm/yyyy
Period = from:31/03/1918 till:$enddate
TimeAxis = orientation:vertical format:yyyy
ScaleMajor = unit:year increment:1 start:1919

# Colors for teams (typically derived from jersey's first colors)
Colors =
id:Boston value:rgb(0, 0, 0)
id:Carolina value:rgb(0.81, 0.04, 0.13)
id:Chicago value:rgb(0.83, 0, 0.02)
id:Colorado value:rgb(0.44, 0.13, 0.22)
id:Dallas value:rgb(0.02, 0.54, 0.36)
id:Detroit value:rgb(0.80, 0.06, 0.16)
id:Edmonton value:rgb(0.92, 0.28, 0.17)
id:Florida value:rgb(0, 0.07, 0.21)
id:LAK value:rgb(0.76, 0.76, 0.76)
id:Montreal value:rgb(0.77, 0, 0)
id:MontrealM value:rgb(0.42, 0.12, 0.22)
id:NJD value:rgb(0.80, 0, 0)
id:NYI value:rgb(0, 0, 0.53)
id:NYR value:rgb(0, 0.44, 0.80)
id:Pittsburgh value:rgb(1, 0.76, 0)
id:Philadelphia value:rgb(1, 0.25, 0)
id:Seattle value:rgb(0.08, 0.28, 0.21)
id:SJS value:rgb(0, 0.40, 0.47)
id:STL value:rgb(0, 0.42, 0.78)
id:Tampa value:rgb(0, 0.24, 0.49)
id:Toronto value:rgb(0, 0.10, 0.36)
id:Ottawa value:rgb(0.72, 0.58, 0.33)
id:OttawaS value:rgb(1, 1, 1)
id:Vancouver value:rgb(0, 0.48, 0.30)
id:VancouverM value:rgb(0.44, 0.13, 0.22)
id:Victoria value:rgb(0, 0.17, 0.53)
id:Washington value:rgb(0.75, 0, 0)
LineData =
# A line at the right side of the graph
from:31/03/1918 till:end atpos:65 color:black width:0.5

# Setup text and color to use in the labeled bars
Define $labelBoston = text:"Boston" color:Boston
Define $labelCarolina = text:"Carolina" color:Carolina
Define $labelChicago = text:"Chicago" color:Chicago
Define $labelColorado = text:"Colorado" color:Colorado
Define $labelDallas = text:"Dallas" color:Dallas
Define $labelDetroit = text:"Detroit" color:Detroit
Define $labelEdmonton = text:"Edmonton" color:Edmonton
Define $labelFlorida = text:"Florida" color:Florida
Define $labelLAK = text:"Los Angeles" color:LAK
Define $labelMontreal = text:"Montreal" color:Montreal
Define $labelMontrealM = text:"Montreal Maroons" color:MontrealM
Define $labelNJD = text:"New Jersey" color:NJD
Define $labelNYI = text:"NY Islanders" color:NYI
Define $labelNYR = text:"NY Rangers" color:NYR
Define $labelPittsburgh = text:"Pittsburgh" color:Pittsburgh
Define $labelPhiladelphia = text:"Philadelphia" color:Philadelphia
Define $labelSeattle = text:"Seattle Mets" color:Seattle
Define $labelSJS = text:"San Jose" color:SJS
Define $labelSTL = text:"St. Louis" color:STL
Define $labelTampa = text:"Tampa Bay" color:Tampa
Define $labelToronto = text:"Toronto" color:Toronto
Define $labelOttawa = text:"Ottawa" color:Ottawa
Define $labelOttawaS = text:"Ottawa (OG) " color:OttawaS
Define $labelVancouver = text:"Vancouver" color:Vancouver
Define $labelVancouverM = text:"Vancouver Mill." color:VancouverM
Define $labelVictoria = text:"Victoria" color:Victoria
Define $labelWashington = text:"Washington" color:Washingtion

PlotData =
bar:Leaders width:25 mark:(line,black)

from:31/03/1918 till:01/04/1919 shift:(20,-5) $labelMontreal
from:01/04/1919 till:05/04/1921 shift:(20,-5) $labelSeattle
from:05/04/1921 till:29/03/1922 shift:(20,-5) $labelOttawaS
from:29/03/1922 till:01/04/1923 shift:(20,-5) $labelVancouverM
from:01/04/1923 till:26/03/1924 shift:(20,-5) $labelOttawaS
from:26/03/1924 till:31/03/1925 shift:(20,-5) $labelVancouverM
from:31/03/1925 till:07/04/1926 shift:(20,-5) $labelMontreal
from:07/04/1926 till:14/04/1927 shift:(20,-5) $labelVictoria
from:14/04/1927 till:15/04/1928 shift:(20,-5) $labelOttawaS
from:15/04/1928 till:14/04/1927 shift:(20,-5) $labelMontrealM




==Leaders==
==Leaders==