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

multibarseries

Description

The "multibarseries" tag can be used to combine several "barseries" into groups which are displayed next to eachother. With 3D graphs you have the option of displaying bars one behind the other, but in 2D this is a useful alternative.

Valid Children

barseries+ marker* label* line*

Examples

Example: an example of a multi bar series
<axesgraph width="300" height="300">
  <multibarseries name="Fruit Consumption by Year">
    <barseries name="2001">
      <data x="Apples" y="5" />
      <data x="Oranges" y="7" />
    </barseries>
    <barseries name="2002">
      <data x="Apples" y="8" />
      <data x="Oranges" y="3" />
    </barseries>
  </multibarseries>
  <key align="right" />
</axesgraph>

See Also

Attributes

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

Description

The width of the set of bars. A value of "1" means each set of bars is so wide they touch eachother. Note that in versions prior to 2.2, this value was identical to the width of the barseries chlidren. Since 2.2 it can be set separately.
bardepth Real > 0 <= 1 optional XML / Tag Library

Description

The depth of a bar, for when bars are displayed in 3D. A value of "1" means the bars are so deep neighbouring rows touch eachother.
topbarwidth null optional XML / Tag Library

Description

null
bottombarwidth null optional XML / Tag Library

Description

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