Difference between revisions of "Template:Graph:BTS Skytrain ridership"
imported>Primefac (TFD closed as no consensus (XFDcloser)) |
imported>Matthewmayer (add 2016 data using http://bts.listedcompany.com/misc/ar/20170621-bts-ar201617-en-02.pdf) |
||
| Line 1: | Line 1: | ||
| − | {{Graph:Chart|width=400|height=200|xAxisTitle=|yAxisTitle=|type=rect|x=2006,2007,2008,2009,2010,2011,2012,2013,2014,2015|y=379600,363073,372438,395820,397779,480996,540233,588335,599250,637087}} | + | {{Graph:Chart|width=400|height=200|xAxisTitle=|yAxisTitle=|type=rect|x=2006,2007,2008,2009,2010,2011,2012,2013,2014,2015,2016|y=379600,363073,372438,395820,397779,480996,540233,588335,599250,637087,652156}} |
Revision as of 16:20, 15 February 2018
<graph>{"legends":[],"scales":[{"type":"ordinal","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"padding":0.2,"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":true,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":"category10"}],"version":2,"marks":[{"type":"rect","properties":{"hover":{"fill":{"value":"red"}},"update":{"fill":{"scale":"color","field":"series"}},"enter":{"y":{"scale":"y","field":"y"},"x":{"scale":"x","field":"x"},"y2":{"scale":"y","value":0},"width":{"scale":"x","offset":-1,"band":true},"fill":{"scale":"color","field":"series"}}},"from":{"data":"chart"}}],"height":200,"axes":[{"type":"x","title":"","scale":"x","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":false},{"type":"y","title":"","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":false}],"data":[{"format":{"parse":{"y":"integer","x":"integer"},"type":"json"},"name":"chart","values":[{"y":379600,"series":"y","x":2006},{"y":363073,"series":"y","x":2007},{"y":372438,"series":"y","x":2008},{"y":395820,"series":"y","x":2009},{"y":397779,"series":"y","x":2010},{"y":480996,"series":"y","x":2011},{"y":540233,"series":"y","x":2012},{"y":588335,"series":"y","x":2013},{"y":599250,"series":"y","x":2014},{"y":637087,"series":"y","x":2015},{"y":652156,"series":"y","x":2016}]}],"width":400}</graph>