Difference between revisions of "StupidGraphPoint"
From Sega Retro
Line 1: | Line 1: | ||
− | <includeonly><div style="display:none;">{{#vardefine:x|{{#expr:((({{{1|}}} - {{#var:minx}})/({{#var:maxx}} - {{#var:minx}})) * {{#var:graphwidth}})}}}}{{#vardefine:y|{{#expr:-((({{{2|}}} - {{#var:miny}})/({{#var:maxy}} - {{#var:miny}})) * {{#var:graphheight}})}}}}</div><div style="display: block; width: 1px; height: 5px; background-color:#AA00AA; position: | + | <includeonly><div style="display:none;">{{#vardefine:x|{{#expr:((({{{1|}}} - {{#var:minx}})/({{#var:maxx}} - {{#var:minx}})) * {{#var:graphwidth}})}}}}{{#vardefine:y|{{#expr:-((({{{2|}}} - {{#var:miny}})/({{#var:maxy}} - {{#var:miny}})) * {{#var:graphheight}})}}}}</div><div style="display: block;"><div style="display: block; width: 1px; height: 5px; background-color:#AA00AA; position:absolute; left: {{#var:x}}px; top:{{#expr:{{#var:y}}-2}}px;"><div style="display: block; width: 5px; height: 1px; background-color:#AA00AA; position:relative; left: -2px; top:2px;"></div></div></div>{{#vardefine:debug|{{#var:debug}} |
+ | *{{#var:x}} : {{#var:y}}}}</includeonly><noinclude> | ||
{{StupidGraph | {{StupidGraph | ||
| height=300 | | height=300 | ||
Line 19: | Line 20: | ||
{{StupidGraphPoint|{{#time:U|2000-01-01}}|100}} | {{StupidGraphPoint|{{#time:U|2000-01-01}}|100}} | ||
}} | }} | ||
+ | |||
+ | {{StupidGraph | ||
+ | | height=300 | ||
+ | | width=400 | ||
+ | | minx={{#time:U|1990-01-01}} | ||
+ | | maxx={{#time:U|2000-01-01}} | ||
+ | | miny=0 | ||
+ | | maxy=100 | ||
+ | |{{StupidGraphPoint|{{#time:U|1990-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1991-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1992-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1993-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1994-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1995-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1996-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1997-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1998-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|1999-01-01}}|10}} | ||
+ | {{StupidGraphPoint|{{#time:U|2000-01-01}}|10}} | ||
+ | }} | ||
+ | {{#var:debug}} | ||
[[Category:Sega Retro templates]] | [[Category:Sega Retro templates]] | ||
</noinclude> | </noinclude> |
Revision as of 08:29, 17 August 2021
- 0 : -0
- 39.978094194962 : -30
- 79.956188389923 : -60
- 120.04381161008 : -90
- 160.02190580504 : -120
- 200 : -150
- 239.97809419496 : -180
- 280.06571741511 : -210
- 320.04381161008 : -240
- 360.02190580504 : -270
- 400 : -300
- 0 : -30
- 39.978094194962 : -30
- 79.956188389923 : -30
- 120.04381161008 : -30
- 160.02190580504 : -30
- 200 : -30
- 239.97809419496 : -30
- 280.06571741511 : -30
- 320.04381161008 : -30
- 360.02190580504 : -30
- 400 : -30