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

keyitem

Description

The "keyitem" tag can be used inside a "key" tag to manually list the items that are to be included in the key. One of the "series", "marker" or "text" attributes must be set.

See Also

Attributes

series String optional XML / Tag Library

Description

The name of the series to include in the key. This attribute must match the name attribute of a series in the graph. To reference a child barseries of a multiebarseries element use a "parentseries.childseries" series name.
marker String optional XML / Tag Library

Description

The name of the marker to include in the key. This attribute must match the name attribute of a marker in the graph, or it can be either:
  • text(NNN) to insert text (although this is better done with the text attribute)
  • image(NNN) to insert a bitmap image - here "NNN" is the URI of the image
textcolor Paint optional XML / Tag Library

Description

Set the color of the text
paddingleft Integer optional XML / Tag Library

Description

How much spacing to put to the left of the text, or (when used on an "axesgraph" or "piegraph" tag in the Tag Library only) to the left of the graph as a whole
paddingright Integer optional XML / Tag Library

Description

How much spacing to put to the right of the text, or (when used on an "axesgraph" or "piegraph" tag in the Tag Library only) to the right of the graph as a whole
paddingbottom Integer optional XML / Tag Library

Description

How much spacing to put below the text, or (when used on an "axesgraph" or "piegraph" tag in the Tag Library only) below the graph as a whole
paddingtop Integer optional XML / Tag Library

Description

How much spacing to put above the text, or (when used on an "axesgraph" or "piegraph" tag in the Tag Library only) above the graph as a whole
fontsize Real > 0 optional XML / Tag Library

Description

The size of the text in points

See Also

font String optional XML / Tag Library

Description

The font to use. This attribute is combination of the "fontsize", "fontweight", "fontstyle" and "fontfamily" attributes, in the same vein as the CSS2 "font" attribute. For instance, font="12pt bold Times" is the same as fontfamily="Times" fontweight="bold" fontsize="12pt".

See Also

fontfamily String optional XML / Tag Library

Description

The family (face) of the text to use. The exact meaning of this depends on the type of format used. For SVG graphs, where fonts are not embedded, this can be any string at all - it is the SVG viewers responsibility to choose an appropriate font. For PNG graphs created from the Tag library, the font name may either match a name specified by a font tag, or it will be passed in to the Font constructor. The default value is "Default", which maps to a sans-serif font.

Examples

Example: Using a system font
<bfg:axesgraph>
  <label fontfamily="serif">My Label</label>
  ...
</bfg:axesgraph>
Example: Embedding a truetype font using the Tag library
<bfg:font name="myfont" src="http://localhost/myfont.ttf" />
<bfg:axesgraph>
  <label fontfamily="myfont">My Label</label>
  ...
</bfg:axesgraph>

See Also

fontweight normal | bold optional XML / Tag Library

Description

The weight of the text. If not specified the default is "normal"

See Also

fontstyle normal | italic optional XML / Tag Library

Description

The style of the text. If not specified the default is "normal"

See Also

size null optional XML / Tag Library

Description

null
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.
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.
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.
Big Faceless Graph Library 2.3 Tag Documentation - Copyright © 2006 Big Faceless Organization