Big Faceless Graph Library 2.3 Tag Documentation - Copyright © 2006 Big Faceless Organization

tick

Description

The "tick" tag is used inside a "dialseries" to add one or more marks or "ticks" to the face of the dial. Either the "angle" attribute must be specified, to draw a single tick, or the "startangle", "endangle" and "step" attributes must be specified to draw a number of evenly-spaced ticks.

Examples

Example: Adding a single tick to a dialgraph
<dialgraph width="300" height="300">
  <segment startangle="-90" endangle="90" inner="0" outer="100" color="green" />
  <needle angle="30" />
  <tick angle="80" inner="90" outer="100" />
</dialgraph>
Example: Adding 12 ticks to a dialgraph
<dialgraph height="400" width="400">
  <segment startangle="0" endangle="360" inner="0" outer="100" color="#FEE" />
  <tick startangle="0" endangle="360" step="30" inner="95" outer="100" color="black" />
  <needle angle="0" waist="30" waistwidth="10" end="100" color="black" />
  <needle angle="60" waist="30" waistwidth="10" end="60" color="black" />
</dialgraph>

Attributes

startangle Real optional XML / Tag Library

Description

If plotting a range of ticks, the angle of the first tick to draw
endangle Real optional XML / Tag Library

Description

If plotting a range of ticks, the angle of the last tick to draw
step Real > 0 optional XML / Tag Library

Description

If plotting a range of ticks, the number of degrees between each successive tick
angle Real optional XML / Tag Library

Description

If plotting a single tick, the angle of the tick.
inner Real mandatory XML / Tag Library

Description

The distance from the center of the graph to the inside of the tick.
outer Real mandatory XML / Tag Library

Description

The distance from the center of the graph to the outside of the tick.
color Paint optional XML / Tag Library

Description

The paint to use as the fill color for the specified object
bordercolor Color optional XML / Tag Library

Description

The color to use as the border color for the specified object. May be "none" to not draw a border for this object.
linethickness Real > 0 optional XML / Tag Library

Description

The thickness to draw the borders for this object, except for lineseries and functionseries objects when the graph is being drawn in 2D, in which case this attribute, as you would expect, sets the thickness of the lines.
dash Real[] optional XML / Tag Library

Description

The dashing pattern to use to draw the borders for this object (for 2D lineseries this functions the same as the linethickness attribute). An even number of parameters that are > 0 must be specified, where the first in each pair is the length of the dash, the second is the length of the space. Examples would be dash="5,5" to create a regular dash pattern, or dash="6,2,2,2" to create a dash/dot type pattern.
Big Faceless Graph Library 2.3 Tag Documentation - Copyright © 2006 Big Faceless Organization