User:Cameron446:/sandbox Graph Charts: Difference between revisions

From Habbox Wiki
Jump to navigation Jump to search
Cameron446: (talk | contribs)
No edit summary
Cameron446: (talk | contribs)
No edit summary
Line 12: Line 12:
|type=line
|type=line
|colors=#73dbff
|colors=#73dbff
|x=2006-2007,,,2008,2009,2010,2011,2012,2013,2014,2015,2016,2017,2018,2019,2020,2021
|x=2006-2007,,,2008-2009,2010-2011,2012-2013,2014-2015,2016-2017,2018-2019,2020-2021
|yTitle=Highest Raised for Charities  
|yTitle=Highest Raised for Charities  
|y=600.00,,,500.00,400.00,300.00,200.00,100.00,00.00
|y=600.00,,,500.00,400.00,300.00,200.00,100.00,00.00
}}
}}
[[Category:Sandbox Templates]]
[[Category:Sandbox Templates]]

Revision as of 22:53, 11 October 2021

Habbox Contributions To Charity <graph>{"legends":[],"scales":[{"type":"ordinal","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"points":true,"range":"width","nice":true},{"clamp":true,"type":"linear","name":"y","domainMax":600,"domain":{"data":"chart","field":"y"},"zero":false,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":["#73dbff"]}],"version":2,"marks":[{"type":"line","properties":{"hover":{"stroke":{"value":"red"}},"update":{"stroke":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"stroke":{"scale":"color","field":"series"},"strokeWidth":{"value":2.5}}},"from":{"data":"chart"}},{"type":"symbol","properties":{"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"size":{"value":49},"shape":"circle","fill":{"scale":"color","field":"series"}}},"from":{"data":"chart"}}],"height":250,"axes":[{"type":"x","title":"Year","scale":"x","properties":{"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"title":{"fill":{"value":"#54595d"}},"labels":{"align":{"value":"left"},"angle":{"value":45},"fill":{"value":"#54595d"}}},"grid":true},{"type":"y","title":"Money Raised","scale":"y","format":"d","properties":{"title":{"fill":{"value":"#54595d"}},"grid":{"stroke":{"value":"#54595d"}},"ticks":{"stroke":{"value":"#54595d"}},"axis":{"strokeWidth":{"value":2},"stroke":{"value":"#54595d"}},"labels":{"fill":{"value":"#54595d"}}},"grid":true}],"data":[{"format":{"parse":{"y":"integer","x":"string"},"type":"json"},"name":"chart","values":[{"y":600,"series":"y","x":"2006-2007"},{"y":500,"series":"y","x":"2008-2009"},{"y":400,"series":"y","x":"2010-2011"},{"y":300,"series":"y","x":"2012-2013"},{"y":200,"series":"y","x":"2014-2015"},{"y":100,"series":"y","x":"2016-2017"},{"y":0,"series":"y","x":"2018-2019"}]}],"width":1000}</graph>