Test case 1
edit
Test case 2
edit
Note: this test won't work until a couple of days have passed so some data can be acquired.
This page, expanded
{{Page views double |expanded=true}}
{{Page views double }}
Last six months (log scale)
Last 30 days (linear scale)
{{Page views double/sandbox }}
Last six months (log scale)
Last 30 days (linear scale)
Test case 3
edit
Specified target (Pancake), logarithmic scale, top orange and bottom blue (collapsed)
{{Page views double |color1=orange |color2=cobalt |days1=150 |target=Pancake}}
{{Page views double }}
Last 150 days (log scale)
Last 30 days (linear scale)
{{Page views double/sandbox }}
Last 150 days (log scale)
Last 30 days (linear scale)
Test case 4
edit
target page "Rubber duck", linear scale, and both red (uncollapsed)
{{Page views double |color1=red |color2=red |days1=30 |days2=90 |expanded=true |scale1=linear |target=Rubber duck}}
{{Page views double }}
Last 30 days (linear scale)
Last 90 days (linear scale)
{{Page views double/sandbox }}
Last 30 days (linear scale)
Last 90 days (linear scale)
Test case 5a height
edit
target page "Rubber duck", linear scale, higher (collapsed)
{{Page views double |height=300 |target=Rubber duck}}
{{Page views double }}
Last six months (log scale)
Last 30 days (linear scale)
{{Page views double/sandbox }}
Last six months (log scale)
Last 30 days (linear scale)
Test case 5b width
edit
target page 'Rubber duck', linear scale, wider (collapsed)
{{Page views double |target=Megan Thee Stallion |width=700}}
{{Page views double }}
Last six months (log scale)
Last 30 days (linear scale)
{{Page views double/sandbox }}
Last six months (log scale)
Last 30 days (linear scale)
Test case 6
edit
target page 'Pancake', flip the graphs (six-month red log graph on bottom); collapsed)
{{Page views double |color1=#0c6 |color2=#f30 |days1=30 |days2=182 |scale1=linear |scale2=log |target=Pancake}}
{{Page views double }}
Last 30 days (linear scale)
Last 182 days (log scale)
{{Page views double/sandbox }}
Last 30 days (linear scale)
Last 182 days (log scale)
Success – works in rev 1004349861 , but bottom graph says '182 days' not 'six months', but maybe that's a feature, as it wasn't designed to replace the interval on the bottom graph.