Module talk:Television ratings graph/testcases

Live

{{Television ratings graph

| title = Game of Thrones

| country = U.S.

| no_table = y

| color1 = #295354

| color2 = #D09916

| color3 = #54575A

| color4 = #222222

| color5 = #68411C

| color6 = #31485C

| color7 = #091411

| color8 = #C6D9E4

| average = y

| bar_width = 7

| x_intervals = 5

| y_intervals = 2

| refs = {{Fake citation needed}}

|-

| 2.22

| 2.20

| 2.44

| 2.45

| 2.58

| 2.44

| 2.40

| 2.72

| 2.66

| 3.04

| 2.52

|-

| 3.86

| 3.76

| 3.77

| 3.65

| 3.90

| 3.88

| 3.69

| 3.86

| 3.38

| 4.20

| 3.80

|-

| 4.37

| 4.27

| 4.72

| 4.87

| 5.35

| 5.50

| 4.84

| 5.13

| 5.22

| 5.39

| 4.97

|-

| 6.64

| 6.31

| 6.59

| 6.95

| 7.16

| 6.40

| 7.20

| 7.17

| 6.95

| 7.09

| 6.84

|-

| 8.00

| 6.81

| 6.71

| 6.82

| 6.56

| 6.24

| 5.40

| 7.01

| 7.14

| 8.11

| 6.88

|-

| 7.94

| 7.29

| 7.28

| 7.82

| 7.89

| 6.71

| 7.80

| 7.60

| 7.66

| 8.89

| 7.69

|-

| 10.11

| 9.27

| 9.25

| 10.17

| 10.72

| 10.24

| 12.07

| 10.26

|-

| 11.76

| 10.29

| 12.02

| 11.80

| 12.48

| 13.61

| 11.99

}}

Sandbox

{{#invoke:Television ratings graph/sandbox|main

| title = Game of Thrones

| country = U.S.

| no_table = y

| color1 = #295354

| color2 = #D09916

| color3 = #54575A

| color4 = #222222

| color5 = #68411C

| color6 = #31485C

| color7 = #091411

| color8 = #C6D9E4

| average = y

| refs = {{Fake citation needed}}

|-

| 2.22

| 2.20

| 2.44

| 2.45

| 2.58

| 2.44

| 2.40

| 2.72

| 2.66

| 3.04

| 2.52

|-

| 3.86

| 3.76

| 3.77

| 3.65

| 3.90

| 3.88

| 3.69

| 3.86

| 3.38

| 4.20

| 3.80

|-

| 4.37

| 4.27

| 4.72

| 4.87

| 5.35

| 5.50

| 4.84

| 5.13

| 5.22

| 5.39

| 4.97

|-

| 6.64

| 6.31

| 6.59

| 6.95

| 7.16

| 6.40

| 7.20

| 7.17

| 6.95

| 7.09

| 6.84

|-

| 8.00

| 6.81

| 6.71

| 6.82

| 6.56

| 6.24

| 5.40

| 7.01

| 7.14

| 8.11

| 6.88

|-

| 7.94

| 7.29

| 7.28

| 7.82

| 7.89

| 6.71

| 7.80

| 7.60

| 7.66

| 8.89

| 7.69

|-

| 10.11

| 9.27

| 9.25

| 10.17

| 10.72

| 10.24

| 12.07

| 10.26

|-

| 11.76

| 10.29

| 12.02

| 11.80

| 12.48

| 13.61

| 11.99

}}

{{#invoke:Television ratings graph/sandbox|main

| title = American Horror Story

| country = U.S.

| color1 = #9A222A | legend1 = Murder House

| color2 = #14131A | legend2 = Asylum

| color3 = #662C35 | legend3 = Coven

| color4 = #095457 | legend4 = Freak Show

| color5 = #453C11 | legend5 = Hotel

| color6 = #DCC89F | legend6 = Roanoke

| color7 = #F6BB02 | legend7 = Cult

| color8 = #FF6048 | legend8 = Apocalypse

| color9 = #3c230d | legend9 = 1984

| no_table = y

| refs =

| -

| 3.18

| 2.46

| 2.59

| 2.96

| 2.74

| 2.83

| 3.06

| 2.81

| 2.85

| 2.54

| 2.59

| 3.22

| -

| 3.85

| 3.06

| 2.47

| 2.65

| 2.78

| 1.89

| 2.27

| 2.36

| 2.22

| 2.21

| 2.51

| 2.30

| 2.29

| -

| 5.54

| 4.51

| 3.78

| 3.71

| 3.80

| 4.16

| 4.00

| 4.07

| 3.94

| 3.49

| 3.46

| 3.35

| 4.24

| -

| 6.13

| 4.53

| 4.44

| 4.51

| 4.22

| 3.65

| 3.91

| 3.30

| 3.07

| 2.99

| 3.11

| 2.94

| 3.27

| -

| 5.81

| 4.06

| 3.20

| 3.04

| 2.87

| 2.64

| 2.64

| 2.31

| 2.14

| 1.85

| 1.84

| 2.24

| -

| 5.14

| 3.27

| 3.08

| 2.83

| 2.82

| 2.48

| 2.62

| 2.20

| 2.43

| 2.45

| -

| 3.93

| 2.38

| 2.25

| 2.13

| 2.20

| 2.15

| 2.07

| 2.06

| 1.48

| 1.82

| 1.97

| -

| 3.08

| 2.21

| 1.95

| 2.02

| 2.12

| 2.01

| 1.85

| 1.63

| 1.65

| 1.83

| -

| 2.13

|

|

|

|

|

|

|

|

|

}}

Two episodes

=Live=

{{#invoke:Television ratings graph|main

| title = Joseon Exorcist

| refs =

| average = y

| width = 100

| height = 170

| country = South Korea

| -

|1.751

|1.294

|1.523

}}

=Sandbox=

{{#invoke:Television ratings graph/sandbox|main

| title = Joseon Exorcist

| refs =

| average = y

| width = 100

| height = 170

| country = South Korea

| -

|1.751

|1.294

|1.523

}}

One episode

=Live=

{{#invoke:Television ratings graph|main

| title = Joseon Exorcist

| refs =

| average = y

| width = 100

| height = 170

| country = South Korea

| -

|1.751

|1.751

}}

=Sandbox=

{{#invoke:Television ratings graph/sandbox|main

| title = Joseon Exorcist

| refs =

| average = y

| width = 100

| height = 170

| country = South Korea

| -

|1.751

|1.751

}}