<dialgraph width="300" height="300"> <segment startangle="-120" endangle="-80" inner="30" outer="100" color="red" /> <segment startangle="-80" endangle="-20" inner="30" outer="100" color="yellow" /> <segment startangle="-20" endangle="120" inner="30" outer="100" color="green" /> <segment startangle="0" endangle="360" inner="0" outer="10" color="black" /> <needle angle="90" waist="50" waistwidth="8" end="80" color="black" /> <tick startangle="-120" endangle="120" step="12" inner="100" outer="105" color="black" /> <labels startangle="-120" endangle="120" step="12" distance="110" startvalue="0" endvalue="100" /> </dialgraph>
slicesize | Real from 0.5 to 5 | optional | XML / Tag Library |
xrotation | Real | optional | XML / Tag Library |
yrotation | Real | optional | XML / Tag Library |
zrotation | Real | optional | XML / Tag Library |
defaultcolors | Paint[n] | optional | XML / Tag Library |
<axesgraph defaultcolors="#FF0000, #00FF00, #0000FF, #FFFF00"> ... </axesgraph>
<axesgraph defaultcolors="#FF0000, http://localhost/mytexture.png"> ... </axesgraph>
bordercolor | Color | optional | XML / Tag Library |
backgroundcolor | Paint | optional | Tag Library Only |
<axesgraph backgroundcolor="transparent(red)"> ... </axesgraph>
numcolors | Integer - 0 or a power of 2 | optional | Tag Library Only |
lightlevel | Real from 0 to 100 | optional | XML / Tag Library |
lightvector | Real[3] | optional | XML / Tag Library |
<axesgraph lightvector="1,0,0"> ... </axesgraph>
format | png | flash | svg | rg1pdf | optional | Tag Library Only |
fixedzoom | Real | optional | XML / Tag Library |
<piegraph fixedzoom="100" fixedx="150" fixedy="150"> ... </piegraph>
fixedx | Real | optional | XML / Tag Library |
fixedy | Real | optional | XML / Tag Library |
padding | Integer[1..4] | optional | XML / Tag Library |
paddingtop | Integer | optional | XML / Tag Library |
paddingright | Integer | optional | XML / Tag Library |
paddingbottom | Integer | optional | XML / Tag Library |
paddingleft | Integer | optional | XML / Tag Library |
dpi | integer | optional | Tag Library Only |
urlprefix | String | optional | Tag Library Only |
autocolors | Paint[2] | optional | XML / Tag Library |
<axesgraph autocolors="#0000A0, #D0D0FF"> ... </axesgraph>
colorordering | String | optional | XML / Tag Library |
options | String | optional | XML / Tag Library |
setOption
method,
for example markerPriority=true
align | box? (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.
The special value "box" can be used in an <axes> to require all the items in the
axis are aligned as a group, rather than individually.
alt | Text | optional | Tag Library Only |
border | Pixels | optional | Tag Library Only |
height | Integer | mandatory | Tag Library Only |
width="50"
not width="50%"
.
hspace | Pixels | optional | Tag Library Only |
longdesc | URI | optional | Tag Library Only |
vspace | Pixels | optional | Tag Library Only |
width | Integer | mandatory | Tag Library Only |
width="50"
not width="50%"
.
wmode | window | opaque | transparent | optional | Tag Library Only |
id | Name | optional | Tag Library Only |
htmlclass | CDATA-list | optional | Tag Library Only |
title | Text | optional | Tag Library Only |
style | Style | optional | Tag Library Only |
lang | Language-code | 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