Template:Bar chart/bar
< Template:Bar chart
Jump to navigation
Jump to search
Revision as of 23:45, 8 December 2015 by imported>Mr. Stradivarius (Protected "Template:Bar chart/bar": Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only administrators] (indefinite)))
300,000
This template can be used to create bars for a horizontal bar chart.
Usage
{{Bar chart/bar| data | total | width = width | width_units = width_units | color = color }}
widthis a number which determines the maximum width of the barwidth_unitsare the units associated with the width (em, px, or %). The default is em.dataandtotalare used to determine the width of the bar usingdata/totalto compute a percentage ofwidth.datais also used for the label on each bar.coloris used to override the default bar color.
See also
- {{Bar chart}} – uses this template to generate bar charts.
- {{Composition bar}} – used for displaying the number of seats held by a political party, or other single statistics.
bs:Šablon:Trakasti grafikon/traka mk:Шаблон:Столбен графикон/столб ur:سانچہ:Bar chart/bar
| The above documentation is transcluded from Template:Bar chart/bar/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |