date("yyyy-MM") then the "x" value of the
data must be like "2001-01", "2001-02" etc. - "2001-Jan" will give undefined results. The
"barsatnoon" attribute on the "axis" may also be helpful when plotting bars.
<axesgraph width="300" height="300">
<barseries name="Comparing apples and oranges">
<data x="Apples" y="20" />
<data x="Oranges" y="30" />
</barseries>
</axesgraph>
<axesgraph width="300" height="300">
<axis pos="bottom" type="date(yyyy-MM)" />
<barseries name="Amount per month">
<data x="2003-01" y="20" />
<data x="2003-02" y="30" />
</barseries>
</axesgraph>
<axesgraph width="300" height="300">
<barseries name="2001">
<data x="Apples" y="20" />
<data x="Oranges" y="30" />
</barseries>
<barseries name="2002">
<data x="Apples" y="25" />
<data x="Oranges" y="35" />
</barseries>
</axesgraph>
| roundbars | boolean | optional | XML / Tag Library |
| barwidth | Real > 0 <= 1 | optional | XML / Tag Library |
| bardepth | Real > 0 <= 1 | optional | XML / Tag Library |
| labelformat | String | optional | XML / Tag Library |
<axesgraph width="300" height="300">
<barseries name="My Bars" labelformat="0%">
...
</barseries>
</axesgraph>| name | String | mandatory | XML / Tag Library |
| pos | (top | bottom) (left | right) | optional | XML / Tag Library |
<axesgraph width="300" height="300">
<axis pos="bottom" type="date">
<teeth rotate="90" align="left middle" />
</axis>
<axis pos="top" type="bar" />
<lineseries pos="bottom left" name="Amount over the year">
<data x="2003-01-01" y="20" />
...
<data x="2003-12-31" y="17" />
</lineseries>
<barseries pos="top left" name="Average amount per weekday">
<data x="Sun" y="18" />
...
<data x="Sat" y="21" />
</barseries>
</axesgraph>| color | Paint | optional | XML / Tag Library |
| bordercolor | Color | optional | XML / Tag Library |
| linethickness | Real > 0 | optional | XML / Tag Library |