<axesgraph width="300" height="300"> <multibarseries name="Fruit Consumption by Year"> <barseries name="2001"> <data x="Apples" y="5" /> <data x="Oranges" y="7" /> </barseries> <barseries name="2002"> <data x="Apples" y="8" /> <data x="Oranges" y="3" /> </barseries> </multibarseries> <key align="right" /> </axesgraph>
barwidth | Real > 0 <= 1 | optional | XML / Tag Library |
bardepth | Real > 0 <= 1 | optional | XML / Tag Library |
topbarwidth | Real >= 0 <= 1 | optional | XML / Tag Library |
<axesgraph width="300" height="300" autocolors="#800000, #FFE0E0" xrotation="20" yrotation="10"> <stackedbarseries name="Funnel" bargap="0.5"> <barseries name="2005" topbarwidth="0.2" bottombarwidth="0.05"><data x="x" y="5" /></barseries> <barseries name="2004" topbarwidth="0.45" bottombarwidth="0.2"><data x="x" y="5" /></barseries> <barseries name="2003" topbarwidth="0.5" bottombarwidth="0.45"><data x="x" y="5" /></barseries> <barseries name="2002" topbarwidth="0.8" bottombarwidth="0.5"><data x="x" y="5" /></barseries> <barseries name="2001" topbarwidth="0.9" bottombarwidth="0.8"><data x="x" y="5" /></barseries> </stackedbarseries> <axis pos="left" type="null" color="none" /> <axis pos="bottom" type="null" color="none" /> </axesgraph>
bottombarwidth | Real >= 0 <= 1 | optional | XML / Tag Library |
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>