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

boxwhiskerseries

Description

The "boxwhiskerseries" tag creates a bar-like series where each bar contains a box and "whiskers" extending from it. It's typically used to plot statistical data, with the extent of the whiskers representing the overall range of data and the box representing 1 or 2 standard deviations from the mean. Each "data" tag inside a Box-Whisker series must have a "bottom", "middle" and "top" attributes, and may have a "min", "lower", "upper" and "max" specified. Added in 2.2.

Valid Children

data+ marker* label* line*

Examples

Example: An example of a box/whisker series
<axesgraph width="300" height="300">
  <boxwhiskerseries name="Samples">
    <data x="Set 1" min="12" bottom="17.5" middle="22.1" top="28.5" max="30" />
    <data x="Set 2" min="14" bottom="16.9" middle="21" top="29.5" max="32" />
  </boxwhiskerseries>
</axesgraph>

See Also

Attributes

waistwidth Real > 0 <= 1 optional XML / Tag Library

Description

Similar to "barwidth" but specifies the width at the middle of the box. A value of "0" (the default) means it's the same value as "barwidth".
shoulderwidth Real > 0 <= 1 optional XML / Tag Library

Description

Similar to "barwidth" but specifies the width at the optional "shoulder" of the box - the position of the "upper" and "lower" attributes. A value of "0" (the default) means it's the same value as "barwidth".
whiskerwidth Real > 0 <= 1 optional XML / Tag Library

Description

Similar to "barwidth" but specifies the width of the "whisker" of the box. A value of 0 (the default) means the whisker is drawn as a line.
serifwidth Real > 0 <= 1 optional XML / Tag Library

Description

Similar to "barwidth" but specifies the width of the serif on the "whisker" of the box. A value of 0 (the default) means no serif is drawn.
barwidth Real > 0 <= 1 optional XML / Tag Library

Description

The width of the box. A value of "1" means the boxes are so wide they touch eachother. The default is 0.8
labelformat String optional XML / Tag Library

Description

How to format the values placed at each label. The format can be any valid DecimalFormat value.
name String mandatory XML / Tag Library

Description

Every item in the graph may have a "name", which is how it appears in the Key (if listed) and for some items, how it's refered to in JavaScript. The name is required for Series and optional for other items like markers.
pos (top | bottom) (left | right) optional XML / Tag Library

Description

Which axes to plot the series against on an AxesGraph. This attribute has a default value of "bottom left", which means the series is plotted against the bottom and left axis, but other valid values would be "top left", "bottom right" or "top right".

Examples

Example: Plotting dates against the bottom axis and days of week against the top
<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

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