<axesgraph width="300" height="300">
<lineseries name="My Line Series">
<data x="1" y="5" />
<data x="2" y="7" />
<data x="3" y="12" />
</lineseries>
</axesgraph>
<axesgraph width="300" height="300">
<axis pos="bottom" type="date" density="sparse" />
<lineseries name="My Line Series">
<data x="2004-01-01" y="5" />
<data x="2004-01-02" y="7" />
<data x="2004-01-03" y="12" />
</lineseries>
</axesgraph>
| depth | Real > 0 | optional | XML / Tag Library |
| maxdatapoints | Integer > 2 or 0 | 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>| color | Paint | optional | XML / Tag Library |
| bordercolor | Color | optional | XML / Tag Library |
| linethickness | Real > 0 | optional | XML / Tag Library |
| dash | Real[] | optional | XML / Tag Library |
dash="5,5" to create a regular dash pattern,
or dash="6,2,2,2" to create a dash/dot type pattern.
| href | URI | optional | Tag Library Only |
| target | frame-target | optional | Tag Library Only |
| title | Text | optional | Tag Library Only |
| onclick | script | optional | Tag Library Only |
click event occurs on a region of the graph
| ondblclick | script | optional | Tag Library Only |
dblclick event occurs on a region of the graph
| onkeydown | script | optional | Tag Library Only |
keydown event occurs on a region of the graph
| onkeypress | script | optional | Tag Library Only |
keypress event occurs on a region of the graph
| onkeyup | script | optional | Tag Library Only |
keyup event occurs on a region of the graph
| onmousedown | script | optional | Tag Library Only |
mousedown event occurs on a region of the graph
| onmousemove | script | optional | Tag Library Only |
mousemove event occurs on a region of the graph
| onmouseout | script | optional | Tag Library Only |
mouseout event occurs on a region of the graph
| onmouseover | script | optional | Tag Library Only |
mouseover event occurs on a region of the graph
| onmouseup | script | optional | Tag Library Only |
mouseup event occurs on a region of the graph