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: | + | <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:relative; 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></includeonly><noinclude> |
{{StupidGraph | {{StupidGraph | ||
| height=300 | | height=300 | ||
Line 7: | Line 7: | ||
| miny=0 | | miny=0 | ||
| maxy=100 | | maxy=100 | ||
− | |{{StupidGraphPoint|{{#time:U|1991-01-01}}|10}} | + | |{{StupidGraphPoint|{{#time:U|1990-01-01}}|0}} |
+ | {{StupidGraphPoint|{{#time:U|1991-01-01}}|10}} | ||
{{StupidGraphPoint|{{#time:U|1992-01-01}}|20}} | {{StupidGraphPoint|{{#time:U|1992-01-01}}|20}} | ||
{{StupidGraphPoint|{{#time:U|1993-01-01}}|30}} | {{StupidGraphPoint|{{#time:U|1993-01-01}}|30}} | ||
Line 16: | Line 17: | ||
{{StupidGraphPoint|{{#time:U|1998-01-01}}|80}} | {{StupidGraphPoint|{{#time:U|1998-01-01}}|80}} | ||
{{StupidGraphPoint|{{#time:U|1999-01-01}}|90}} | {{StupidGraphPoint|{{#time:U|1999-01-01}}|90}} | ||
+ | {{StupidGraphPoint|{{#time:U|2000-01-01}}|100}} | ||
}} | }} | ||
[[Category:Sega Retro templates]] | [[Category:Sega Retro templates]] | ||
</noinclude> | </noinclude> |