Template:Australian large car sales
Jump to navigation
Jump to search
<graph>{"legends":[],"scales":[{"type":"linear","name":"x","zero":false,"domain":{"data":"chart","field":"x"},"range":"width","nice":true},{"type":"linear","name":"y","domain":{"data":"chart","field":"y"},"zero":false,"range":"height","nice":true},{"domain":{"data":"chart","field":"series"},"type":"ordinal","name":"color","range":["red","blue","green","purple","black"]}],"version":2,"marks":[{"type":"group","marks":[{"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}}},"type":"line"}],"from":{"data":"chart","transform":[{"groupby":["series"],"type":"facet"}]}}],"height":300,"axes":[{"type":"x","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":{"align":{"value":"right"},"angle":{"value":-40},"fill":{"value":"#54595d"}}},"grid":false},{"type":"y","scale":"y","format":"s","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":"integer"},"type":"json"},"name":"chart","values":[{"y":50820,"series":"y1","x":1991},{"y":57641,"series":"y1","x":1992},{"y":62663,"series":"y1","x":1993},{"y":75330,"series":"y1","x":1994},{"y":80452,"series":"y1","x":1995},{"y":83001,"series":"y1","x":1996},{"y":76849,"series":"y1","x":1997},{"y":94642,"series":"y1","x":1998},{"y":85648,"series":"y1","x":1999},{"y":83610,"series":"y1","x":2000},{"y":85422,"series":"y1","x":2001},{"y":88478,"series":"y1","x":2002},{"y":86553,"series":"y1","x":2003},{"y":79170,"series":"y1","x":2004},{"y":66794,"series":"y1","x":2005},{"y":56531,"series":"y1","x":2006},{"y":57307,"series":"y1","x":2007},{"y":51093,"series":"y1","x":2008},{"y":44387,"series":"y1","x":2009},{"y":45956,"series":"y1","x":2010},{"y":40617,"series":"y1","x":2011},{"y":30532,"series":"y1","x":2012},{"y":48430,"series":"y2","x":1991},{"y":57832,"series":"y2","x":1992},{"y":64941,"series":"y2","x":1993},{"y":72924,"series":"y2","x":1994},{"y":81366,"series":"y2","x":1995},{"y":77835,"series":"y2","x":1996},{"y":71850,"series":"y2","x":1997},{"y":68758,"series":"y2","x":1998},{"y":70084,"series":"y2","x":1999},{"y":60460,"series":"y2","x":2000},{"y":53534,"series":"y2","x":2001},{"y":54629,"series":"y2","x":2002},{"y":73220,"series":"y2","x":2003},{"y":65384,"series":"y2","x":2004},{"y":53080,"series":"y2","x":2005},{"y":42390,"series":"y2","x":2006},{"y":33941,"series":"y2","x":2007},{"y":31936,"series":"y2","x":2008},{"y":31023,"series":"y2","x":2009},{"y":29516,"series":"y2","x":2010},{"y":18741,"series":"y2","x":2011},{"y":14036,"series":"y2","x":2012},{"y":6844,"series":"y3","x":1993},{"y":7996,"series":"y3","x":1994},{"y":7886,"series":"y3","x":1995},{"y":10701,"series":"y3","x":1996},{"y":11786,"series":"y3","x":1997},{"y":18694,"series":"y3","x":1998},{"y":21281,"series":"y3","x":1999},{"y":22449,"series":"y3","x":2000},{"y":20230,"series":"y3","x":2001},{"y":19004,"series":"y3","x":2002},{"y":19343,"series":"y3","x":2003},{"y":19654,"series":"y3","x":2004},{"y":14995,"series":"y3","x":2005},{"y":9431,"series":"y3","x":2006},{"y":22044,"series":"y3","x":2007},{"y":19562,"series":"y3","x":2008},{"y":13910,"series":"y3","x":2009},{"y":11764,"series":"y3","x":2010},{"y":9037,"series":"y4","x":1991},{"y":16382,"series":"y4","x":1992},{"y":22965,"series":"y4","x":1993},{"y":26326,"series":"y4","x":1994},{"y":24872,"series":"y4","x":1995},{"y":27369,"series":"y4","x":1996},{"y":38809,"series":"y4","x":1997},{"y":35270,"series":"y4","x":1998},{"y":31110,"series":"y4","x":1999},{"y":32247,"series":"y4","x":2000},{"y":31117,"series":"y4","x":2001},{"y":26237,"series":"y4","x":2002},{"y":24408,"series":"y4","x":2003},{"y":17470,"series":"y4","x":2004},{"y":32512,"series":"y4","x":2005},{"y":28254,"series":"y4","x":2006},{"y":26385,"series":"y4","x":2007},{"y":16748,"series":"y4","x":2008},{"y":12381,"series":"y4","x":2009},{"y":11347,"series":"y4","x":2010},{"y":108287,"series":"y5","x":1991},{"y":131855,"series":"y5","x":1992},{"y":157413,"series":"y5","x":1993},{"y":182576,"series":"y5","x":1994},{"y":194576,"series":"y5","x":1995},{"y":198906,"series":"y5","x":1996},{"y":199294,"series":"y5","x":1997},{"y":217364,"series":"y5","x":1998},{"y":208123,"series":"y5","x":1999},{"y":198766,"series":"y5","x":2000},{"y":190303,"series":"y5","x":2001},{"y":188348,"series":"y5","x":2002},{"y":203524,"series":"y5","x":2003},{"y":181678,"series":"y5","x":2004},{"y":167381,"series":"y5","x":2005},{"y":136606,"series":"y5","x":2006},{"y":139677,"series":"y5","x":2007},{"y":119339,"series":"y5","x":2008},{"y":101701,"series":"y5","x":2009},{"y":98583,"series":"y5","x":2010},{"y":78077,"series":"y5","x":2011}]}],"width":500}</graph> |
Usage
- To use this template
- Copy the blank template below to your document.
- Enter values for the fields as outlined in the table below.
- Preview.
- Save the page with an appropriate edit summary.
Blank template
{{ Australian large car sales | align = | title = | width = | height = | legend = }}
Fields
The following fields are available in this template:
Field Name | Required? | Description | Values |
align | no | Can be set to left or right, default is left. | Plain text. |
title | no | Set to yes to display the heading "Australian large car sales (1991–2012)" | Plain text. |
width | no | Width of chart in pixels, should not be lower than 300. Default is 500. | Number. |
height | no | Height of chart in pixels, should not be lower than 240. Default is 300. | Number. |
legend | no | Set to yes to display legend. | Plain text. |
The above documentation is transcluded from Template:Australian large car sales/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |