0%%, 0.0%% or 0.00%% to the text. This will be replaced by the percentage (formatted with the specified number of decimal places).<axesgraph width="300" height="300"> <label>My First Graph</label> ... </axesgraph>
<axesgraph width="300" height="300">
...
<key>
<label>My First Key</label>
</key>
</axesgraph>
<axesgraph width="300" height="300">
<axis pos="bottom" type="date" density="sparse" rotate="45" align="left top">
<label>Date</label>
</axis>
<axis pos="left" type="int"><label>Attendance</label></axis>
<lineseries name="attendance">
<data x="2004-12-18" y="137" />
<data x="2004-12-25" y="12" />
<data x="2005-01-01" y="18" />
<data x="2005-01-08" y="180" />
<label x="2004-12-25" y="22" rotate="-90" align="left middle">Xmas Day</label>
<label x="2005-01-01" y="28" rotate="-90" align="left middle">NY Day</label>
</lineseries>
</axesgraph>
<piegraph width="300" height="300"> <data key="Apples" value="20"><label>Apples (0%%)</label></data> <data key="Oranges" value="20"><label>Oranges (0%%)</label></data> </piegraph>
| x | Real or Date | optional | XML / Tag Library |
| y | Real or Date | optional | XML / Tag Library |
| name | String | optional | XML / Tag Library |
| distance | Real > 0 | optional | XML / Tag Library |
| angle | Real | optional | XML / Tag Library |
| textcolor | Paint | optional | XML / Tag Library |
| paddingleft | Integer | optional | XML / Tag Library |
| paddingright | Integer | optional | XML / Tag Library |
| paddingbottom | Integer | optional | XML / Tag Library |
| paddingtop | Integer | optional | XML / Tag Library |
| fontsize | Real > 0 | optional | XML / Tag Library |
| font | String | optional | XML / Tag Library |
font="12pt bold Times" is
the same as fontfamily="Times" fontweight="bold" fontsize="12pt".
| fontfamily | String | optional | XML / Tag Library |
<bfg:axesgraph> <label fontfamily="serif">My Label</label> ... </bfg:axesgraph>
<bfg:font name="myfont" src="http://localhost/myfont.ttf" /> <bfg:axesgraph> <label fontfamily="myfont">My Label</label> ... </bfg:axesgraph>
| fontweight | normal | bold | optional | XML / Tag Library |
| fontstyle | normal | italic | optional | XML / Tag Library |
| align | (top | middle | bottom) (left | center | right) | optional | XML / Tag Library |
align="center" (the vertical alignment
is undefined). To align horizontally and vertically, do align="center middle".
As in HTML, "middle" refers to vertical alignment and "center" refers to horizontal.
| rotate | Real | optional | XML / Tag Library |
| 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