This site is supported by donations to The OEIS Foundation.
Template:Vertical bar graph/bar/doc
The {{Vertical bar graph/bar}}/{{Histogram/bar}} bar chart template is used to create vertical bars for a vertical bar graph/histogram produced with the {{Vertical bar graph}}/{{Histogram}} template.
Contents
Usage
{{Vertical bar graph/bar | ''data'' | ''total'' | height = ''height'' | width = ''width'' | units = ''units'' | color = ''color'' | border_color = ''border_color'' | side_borders = ''side_borders'' | HTTP_USER_AGENT = ''HTTP_USER_AGENT'' }}
- height is a number which determines the maximum height (in units) of the vertical bar. The default is 30.
- width is a number which determines the width (in units) of the vertical bar. The default is 1.25.
- units are the units associated with the height and width (em, px, or %). The default is em.
- data and total are used to determine the height of the bar using data/total to compute a percentage of height.
- data is also used for the label on each bar.
- color is used to override the default bar color (rgb(206, 223, 242), i.e. ).
- border_color is the color of the 1px border around (i.e. ouside) of the bar (default is color, i.e. same color as the bar itself).
- side_borders determines whether the bar side borders are drawn (no for no bar side borders, otherwise they are drawn).
As a lame kludge to circumvent a bug (mentioned below)
- HTTP_USER_AGENT (Firefox/Win, Firefox/Mac, IE or Safari/Mac, defaults to Firefox/Win if not given or any other value is given).
Bug
BUG: The bars for nonnegative values are shifted vertically (behavior depends on browser, i.e. HTTP_USER_AGENT) (Template needs to be debugged: the bars for nonnegative values are shifted (behavior depends on browser, i.e. HTTP_USER_AGENT).) [1]
Is there a way to get the User Agent (i.e. the user's browser) in wikitext? — Daniel Forgues 06:36, 15 December 2012 (UTC)
The following (for nonnegative data):
- bottom: 1.2em; in Mozilla Firefox 17.0.1 (Windows XP Pro 5.1)
- bottom: 0.95em; in Mozilla Firefox 17.0.1 (Mac OS X 10.7.5)
- bottom: -0.1em; in IE 8.0 (Windows XP Pro 5.1)
- bottom: 0.0em; in Safari 6.0.2 (Mac OS X Lion 10.7.5)
fixes the upwards shift.
For now, we have to use the HTTP_USER_AGENT parameter as a very lame kludge. — Daniel Forgues 05:15, 30 April 2013 (UTC)
Examples
Example without border
{| cellspacing="0" cellpadding="0" style="border-style: solid; border-width: 1px; border-color: #f2f2f2; background-color: #f9f9f9; text-align: left; <!-- left=float: left; clear: left; margin: 0.5em 1em 0.5em 0; right=float: right; clear: right; margin: 0.5em 0 0.5em 1em; center=float: none; margin-left: auto; margin-right: auto;--> float: none; margin-left: auto; margin-right: auto;" |+ '''Population migration by city''' |- style="height: 8px;" | |- style="height: 30em;" | style="text-align: center;" valign="middle" | ''Population'' ''migration'' ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 8px;" | |- style="height: 0;" | | {{Vertical bar graph/bar| 1000|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar| 700|1000|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar| 350|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar| -350|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar|-1000|1000|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|HTTP_USER_AGENT = IE}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|HTTP_USER_AGENT = IE}} | |- style="height: 30em;" | |- style="height: 8px;" | |- |}
gives
Population
migration |
|||||||||
<div style="position: absolute; border-style: solid; border-top-width: 0; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: rgb(206, 223, 242); border-bottom-color: black; border-left-color: rgb(206, 223, 242); border-right-color: rgb(206, 223, 242); background-color: rgb(206, 223, 242); height: | 30*1000/1000 | em; bottom: 0; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 0; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: rgb(186, 203, 222); border-bottom-color: black; border-left-color: rgb(186, 203, 222); border-right-color: rgb(186, 203, 222); background-color: rgb(186, 203, 222); height: | 30*700/1000 | em; bottom: 0; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 0; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: rgb(206, 223, 242); border-bottom-color: black; border-left-color: rgb(206, 223, 242); border-right-color: rgb(206, 223, 242); background-color: rgb(206, 223, 242); height: | 30*350/1000 | em; bottom: 0; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 0; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: rgb(186, 203, 222); border-bottom-color: black; border-left-color: rgb(186, 203, 222); border-right-color: rgb(186, 203, 222); background-color: rgb(186, 203, 222); height: | 30*1.25/2.5 | em; bottom: 0; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 0; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: rgb(206, 223, 242); border-top-color: black; border-left-color: rgb(206, 223, 242); border-right-color: rgb(206, 223, 242); background-color: rgb(206, 223, 242); height: | 30*-350/1000 | em; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 0; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: rgb(186, 203, 222); border-top-color: black; border-left-color: rgb(186, 203, 222); border-right-color: rgb(186, 203, 222); background-color: rgb(186, 203, 222); height: | 30*-1000/1000 | em; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 0; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: rgb(206, 223, 242); border-bottom-color: black; border-left-color: rgb(206, 223, 242); border-right-color: rgb(206, 223, 242); background-color: rgb(206, 223, 242); height: | 30*1.25/2.5 | em; bottom: 0; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 0; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: rgb(186, 203, 222); border-bottom-color: black; border-left-color: rgb(186, 203, 222); border-right-color: rgb(186, 203, 222); background-color: rgb(186, 203, 222); height: | 30*1.25/2.5 | em; bottom: 0; width: 2.5em; margin: 0 0 0 0; z-index: 0;"></div>
|
||
Examples with border
Note that borders are drawn on the outside (unfortunately, the box model[2] draws the borders on the outside of the box content area, there is no option to draw inside instead,) so it doesn't look good when the bars are adjacent (since you have the border of a bar printed over the previously drawn bars,) so with borders it is better to space the bars somewhat like in the second example.
{| cellspacing="0" cellpadding="0" style="border-style: solid; border-width: 1px; border-color: #f2f2f2; background-color: #f9f9f9; text-align: left; <!-- left=float: left; clear: left; margin: 0.5em 1em 0.5em 0; right=float: right; clear: right; margin: 0.5em 0 0.5em 1em; center=float: none; margin-left: auto; margin-right: auto;--> float: none; margin-left: auto; margin-right: auto;" |+ '''Population migration by city''' |- style="height: 8px;" | |- style="height: 30em;" | style="text-align: center;" valign="middle" | ''Population'' ''migration'' ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 2.5em;" | ! style="width: 8px;" | |- style="height: 0;" | | {{Vertical bar graph/bar| 1000|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar| 700|1000|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar| 350|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar| -350|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar|-1000|1000|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777|HTTP_USER_AGENT = Firefox/Win}} | |- style="height: 30em;" | |- style="height: 8px;" | |- |}
gives the not so nice looking
Population
migration |
|||||||||
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-color: #777777; border-top-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-color: #777777; border-top-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
||
whereas with
{| cellspacing="0" cellpadding="0" style="border-style: solid; border-width: 1px; border-color: #f2f2f2; background-color: #f9f9f9; text-align: left; <!-- left=float: left; clear: left; margin: 0.5em 1em 0.5em 0; right=float: right; clear: right; margin: 0.5em 0 0.5em 1em; center=float: none; margin-left: auto; margin-right: auto;--> float: none; margin-left: auto; margin-right: auto;" |+ '''Population migration by city''' |- style="height: 8px;" | |- style="height: 30em;" | style="text-align: center;" valign="middle" | ''Population'' ''migration'' ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 3.0em;" | ! style="width: 8px;" | |- style="height: 0;" | | {{Vertical bar graph/bar| 1000|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777}} | {{Vertical bar graph/bar| 700|1000|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777}} | {{Vertical bar graph/bar| 350|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777}} | {{Vertical bar graph/bar| -350|1000|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777}} | {{Vertical bar graph/bar|-1000|1000|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(206, 223, 242)|border_color = #777777}} | {{Vertical bar graph/bar| 1.25| 2.5|height = 30|width = 2.5|units = em|color = rgb(186, 203, 222)|border_color = #777777}} | |- style="height: 30em;" | |- style="height: 8px;" | |- |}
gives the not much nicer, even worse (the next example seems the best solution)
Population
migration |
|||||||||
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-color: #777777; border-top-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 1px; border-right-width: 1px; border-bottom-color: #777777; border-top-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-right-width: 1px; border-top-color: #777777; border-bottom-color: black; border-left-color:
|
||
An example with the sine function
Note that this is for testing purposes, this will be automated with the {{vertical bar graph}} template.
The following example shows that without the bar borders (first half) the graph is more precise, although flatter, while with the bar borders (second half) the graph is less precise due to the 1 pixel border drawn on the outside of the bars, but it has more relief, so its a trade-off.
{| cellspacing="0" cellpadding="0" style="border-style: solid; border-width: 1px; border-color: #f2f2f2; background-color: #f9f9f9; text-align: left; <!-- left=float: left; clear: left; margin: 0.5em 1em 0.5em 0; right=float: right; clear: right; margin: 0.5em 0 0.5em 1em; center=float: none; margin-left: auto; margin-right: auto;--> float: none; margin-left: auto; margin-right: auto;" |+ '''Sine function''' |- style="height: 8px;" | |- style="height: 30em;" | style="text-align: center;" valign="middle" | <math>y \,</math> ! style="width: 1.0em;" | <!-- 0 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 5 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 10 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 15 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 20 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 25 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 30 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 35 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 40 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 45 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 50 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 55 --> ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | ! style="width: 1.0em;" | <!-- 60 --> ! style="width: 8px;" | |- style="height: 0;" | | {{Vertical bar graph/bar| {{sin| 2*pi * 0/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 0--> | {{Vertical bar graph/bar| {{sin| 2*pi * 1/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 2/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 3/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 4/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 5/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} <!-- 5--> | {{Vertical bar graph/bar| {{sin| 2*pi * 6/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 7/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 8/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 9/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 10/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 10--> | {{Vertical bar graph/bar| {{sin| 2*pi * 11/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 12/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 13/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 14/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 15/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} <!-- 15--> | {{Vertical bar graph/bar| {{sin| 2*pi * 16/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 17/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 18/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 19/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 20/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 20--> | {{Vertical bar graph/bar| {{sin| 2*pi * 21/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 22/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 23/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 24/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 25/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} <!-- 25--> | {{Vertical bar graph/bar| {{sin| 2*pi * 26/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 27/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 28/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 29/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 30/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 30--> | {{Vertical bar graph/bar| {{sin| 2*pi * 31/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 32/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 33/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 34/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 35/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} <!-- 35--> | {{Vertical bar graph/bar| {{sin| 2*pi * 36/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 37/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 38/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 39/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 40/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 40--> | {{Vertical bar graph/bar| {{sin| 2*pi * 41/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 42/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 43/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 44/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 45/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} <!-- 45--> | {{Vertical bar graph/bar| {{sin| 2*pi * 46/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 47/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 48/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 49/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 50/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 50--> | {{Vertical bar graph/bar| {{sin| 2*pi * 51/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 52/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 53/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 54/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 55/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} <!-- 55--> | {{Vertical bar graph/bar| {{sin| 2*pi * 56/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 57/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 58/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 59/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(201, 218, 237)|border_color = #777777|side_borders=no}} | {{Vertical bar graph/bar| {{sin| 2*pi * 60/60 }} | 1 |height = 30|width = 1.0|units = em|color = rgb(206, 223, 242)|border_color = #777777|side_borders=no}} <!-- 60--> | |- style="height: 30em;" | |- style="height: 8px;" | |- |}
gives
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.10452846326765/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.20791169081776/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.30901699437495/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.4067366430758/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.5/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.58778525229247/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.66913060635886/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.74314482547739/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.80901699437495/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.86602540378444/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.9135454576426/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.95105651629515/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.97814760073381/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.99452189536827/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*1/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.99452189536827/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.97814760073381/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.95105651629515/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.9135454576426/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.86602540378444/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.80901699437495/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.74314482547739/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.66913060635886/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.58778525229247/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.5/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.4067366430758/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.30901699437495/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*0.20791169081776/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-top-width: 1px; border-bottom-width: 1px; border-left-width: 0; border-right-width: 0; border-top-color: #777777; border-bottom-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*0.10452846326765/1 | em; bottom: 0; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.10452846326765/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.20791169081776/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.30901699437495/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.4067366430758/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.5/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.58778525229247/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.66913060635886/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.74314482547739/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.80901699437495/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.86602540378444/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.9135454576426/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.95105651629515/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.97814760073381/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.99452189536827/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-1/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.99452189536827/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.97814760073381/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.95105651629515/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.9135454576426/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.86602540378444/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.80901699437495/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.74314482547739/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.66913060635886/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.58778525229247/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.5/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.4067366430758/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.30901699437495/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(206, 223, 242); height: | 30*-0.20791169081776/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
<div style="position: absolute; border-style: solid; border-bottom-width: 1px; border-top-width: 1px; border-left-width: 0; border-right-width: 0; border-bottom-color: #777777; border-top-color: black; border-left-color: 0; border-right-color: 0; background-color: rgb(201, 218, 237); height: | 30*-0.10452846326765/1 | em; width: 1.0em; margin: 0 0 0 0; z-index: 0;"></div>
|
|||||
Code
<noinclude>{{documentation}}</noinclude><includeonly><!-- <head><style type="text/css"> p.css-vertical-text { color:#333; border:0px solid red; writing-mode:tb-rl; -webkit-transform:rotate(90deg); -moz-transform:rotate(90deg); -o-transform: rotate(90deg); white-space:nowrap; display:block; bottom:0; width:20px; height:20px; font-family: ‘Trebuchet MS’, Helvetica, sans-serif; font-size:24px; font-weight:normal; text-shadow: 0px 0px 1px #333; } </style></head> -->{{#switch: {{sgn| {{#ifexpr: abs (({{formatnum:{{{1|300000}}}|R}}) / ({{formatnum:{{{2|600000}}}|R}})) < (1/4096) | 0 | {{formatnum:{{{1|300000}}}|R}} }} }} <!-- ***** Show upwards bars for positive data ***** --> | 1=<!-- Depends on HTTP_USER_AGENT: bottom: 1.2em; in Mozilla Firefox 17.0.1 (Windows XP Pro 5.1) bottom: 0.95em; in Mozilla Firefox 17.0.1 (Mac OS X 10.7.5) bottom: -0.1em; in IE 8.0 (Windows XP Pro 5.1) bottom: 0.0em; in Safari 6.0.2 (Mac OS X Lion 10.7.5) bottom: 1.2em; (default) --><span style="position: relative; bottom: {{#switch: {{{HTTP_USER_AGENT|Firefox/Win}}} | Firefox/Win = 1.2 | Firefox/Mac = 0.95 | IE = -0.1 | Safari/Mac = 0.0 | 1.2 }}em; width: {{{width|1.25}}}{{{units|em}}}; height: {{{height|40}}}{{{units|em}}}; border-bottom-color: black; border-bottom-width: 1px;"><!-- --><div style="position: absolute; border-style: solid; border-top-width: {{#if:{{{border_color|}}}|1px|0}}; border-bottom-width: 1px; border-left-width: {{#ifeq:{{{side_borders|}}}|no|0|{{#if:{{{border_color|}}}|1px|0}}}}; border-right-width: {{#ifeq:{{{side_borders|}}}|no|0|{{#if:{{{border_color|}}}|1px|0}}}}; border-top-color: {{{border_color|{{{color|rgb(206, 223, 242)}}}}}}; border-bottom-color: black; border-left-color: {{#ifeq:{{{side_borders|}}}|no|0|{{{border_color|{{{color|rgb(206, 223, 242)}}}}}}}}; border-right-color: {{#ifeq:{{{side_borders|}}}|no|0|{{{border_color|{{{color|rgb(206, 223, 242)}}}}}}}}; background-color: {{{color|rgb(206, 223, 242)}}}; height: {{abs|{{{height|40}}}*{{formatnum:{{{1|300000}}}|R}}/{{formatnum:{{{2|600000}}}|R}} <!--round 1-->}}{{{units|em}}}; bottom: 0; width: {{{width|1.25}}}{{{units|em}}}; margin: 0 0 0 0; z-index: 0;"></div><!-- --><!--<span class="css-vertical-text" style="position: absolute; width: {{{width|1.25}}}{{{units|em}}}; height: {{{height|40}}}{{{units|em}}}; padding: 0 0 2 0em; z-index: 10;">{{nowrap|{{formatnum:{{{1|300000}}}}}{{#if:{{{comment|}}}|<span style="font-size: 90%; padding-bottom: 1em;">({{{comment}}})</span>|}}}}</span>--><!-- --></span><!-- ***** Show no bars for zero data ***** --> | 0=<!-- Depends on HTTP_USER_AGENT: bottom: 1.2em; in Mozilla Firefox 17.0.1 (Windows XP Pro 5.1) bottom: 0.95em; in Mozilla Firefox 17.0.1 (Mac OS X 10.7.5) bottom: -0.1em; in IE 8.0 (Windows XP Pro 5.1) bottom: 0.0em; in Safari 6.0.2 (Mac OS X Lion 10.7.5) bottom: 1.2em; (default) --><span style="position: relative; bottom: {{#switch: {{{HTTP_USER_AGENT|Firefox/Win}}} | Firefox/Win = 1.2 | Firefox/Mac = 0.95 | IE = -0.1 | Safari/Mac = 0.0 | 1.2 }}em; width: {{{width|1.25}}}{{{units|em}}}; height: {{{height|40}}}{{{units|em}}};"><!-- --><div style="position: absolute; border-style: solid; border-width: 0px; background-color: black; height: 1px; bottom: 0; width: {{{width|1.25}}}{{{units|em}}}; margin: 0 0 0 0; z-index: 0;"></div><!-- --><!--<span class="css-vertical-text" style="position: absolute; width: {{{width|1.25}}}{{{units|em}}}; height: {{{height|40}}}{{{units|em}}}; padding: 0 0 2 0em; z-index: 10;">{{nowrap|{{formatnum:{{{1|300000}}}}}{{#if:{{{comment|}}}|<span style="font-size: 90%; padding-bottom: 1em;">({{{comment}}})</span>|}}}}</span>--><!-- --></span><!-- ***** Show downwards bars for negative data ***** --> | -1=<span style="position: relative; top: 0em; width: {{{width|1.25}}}{{{units|em}}}; height: {{{height|40}}}{{{units|em}}}; border-top-color: black; border-top-width: 1px;"><!-- --><div style="position: absolute; border-style: solid; border-bottom-width: {{#if:{{{border_color|}}}|1px|0}}; border-top-width: 1px; border-left-width: {{#ifeq:{{{side_borders|}}}|no|0|{{#if:{{{border_color|}}}|1px|0}}}}; border-right-width: {{#ifeq:{{{side_borders|}}}|no|0|{{#if:{{{border_color|}}}|1px|0}}}}; border-bottom-color: {{{border_color|{{{color|rgb(206, 223, 242)}}}}}}; border-top-color: black; border-left-color: {{#ifeq:{{{side_borders|}}}|no|0|{{{border_color|{{{color|rgb(206, 223, 242)}}}}}}}}; border-right-color: {{#ifeq:{{{side_borders|}}}|no|0|{{{border_color|{{{color|rgb(206, 223, 242)}}}}}}}}; background-color: {{{color|rgb(206, 223, 242)}}}; height: {{abs|{{{height|40}}}*{{formatnum:{{{1|300000}}}|R}}/{{formatnum:{{{2|600000}}}|R}} <!--round 1-->}}{{{units|em}}}; width: {{{width|1.25}}}{{{units|em}}}; margin: 0 0 0 0; z-index: 0;"></div><!-- --><!--<span class="css-vertical-text" style="position: absolute; width: {{{width|1.25}}}{{{units|em}}}; height: {{{height|40}}}{{{units|em}}}; padding: 0 0 2 0em; z-index: 10;">{{nowrap|{{formatnum:{{{1|300000}}}}}{{#if:{{{comment|}}}|<span style="font-size: 90%; padding-bottom: 1em;">({{{comment}}})</span>|}}}}</span>--><!-- --></span> }}</includeonly>
See also
- {{Vertical bar graph/bar}}/{{Histogram/bar}} to generate vertical bars (used by {{Vertical bar graph}}/{{Histogram}})
- {{Vertical bar graph}}/{{Histogram}} to generate a vertical bar graph or histogram (using {{Vertical bar graph/bar}}/{{Histogram/bar}})
- {{Vertical bar graph from lists}}/{{Histogram from lists}}
- {{Bar graph/bar}} to generate horizontal bars (used by {{Bar graph}})
- {{Bar graph}} to generate a horizontal bar graph (using {{Bar graph/bar}})
- {{Bar graph from lists}}
Notes
- ↑ Template needs to be debugged (the bars for nonnegative values are shifted (behavior depends on browser, i.e. HTTP_USER_AGENT)).
- ↑ CSS Box Model, http://www.w3.org/TR/CSS2/box.html