plottype
[ class tree: plottype ] [ index: plottype ] [ all elements ]

Class: Image_Graph_Plot_Bar_Multiple

Source Location: /Graph/Plot/Bar/Multiple.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plot
         |
         --Image_Graph_Plot_MultipleData
            |
            --Image_Graph_Plot_Bar_Multiple

Multiple barchart.


Methods


Child classes:

Image_Graph_Plot_Stacked_Bar
Stacked barchart The dataset Y-values are stacked on top of eachother, i.e. the first point with X0 = 0 is displayed from Y = 0 to Y = Y0, the next point with X1 = 0 are displayed from Y = Y0 to Y = Y0+Y1, etc.
Image_Graph_Plot_Stacked_Bar100Pct
Stacked barchart summarizing to 100%.

Inherited Methods

Class: Image_Graph_Plot_MultipleData

Image_Graph_Plot_MultipleData::Image_Graph_Plot_MultipleData()
PlotTypeMultipleData [Constructor]

Class: Image_Graph_Plot

Image_Graph_Plot::Image_Graph_Plot()
PlotType [Constructor]
Image_Graph_Plot::setDataSelector()
Sets the dataselector to specify which data should be displayed on the plot as markers and which are not
Image_Graph_Plot::setMarker()
Sets the marker to "display" data points on the graph
Image_Graph_Plot::setTitle()
Sets the title of the plot, used for legend

Class: Image_Graph_Element

Image_Graph_Element::height()
The height of the element on the canvas
Image_Graph_Element::setBackground()
Sets the background fill style of the element
Image_Graph_Element::setBackgroundColor()
Sets the background color of the element
Image_Graph_Element::setBorderColor()
Sets the border color of the element
Image_Graph_Element::setBorderStyle()
Sets the border line style of the element
Image_Graph_Element::setFillColor()
Sets the fill color of the element
Image_Graph_Element::setFillStyle()
Sets the fill style of the element
Image_Graph_Element::setFont()
Sets the font of the element
Image_Graph_Element::setLineColor()
Sets the line color of the element
Image_Graph_Element::setLineStyle()
Sets the line style of the element
Image_Graph_Element::setPadding()
Sets padding of the element
Image_Graph_Element::showShadow()
Shows shadow on the element
Image_Graph_Element::width()
The width of the element on the canvas

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Creates an a instance of Image_Graph_Common.
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addColor()
Add a color. Ultimately it should call addColor() from the Image_Graph object
Image_Graph_Common::newColor()
Create a new Image_Graph_color.
Image_Graph_Common::setName()
Sets the name

Class Details

[line 44]
Multiple barchart.

This is used to display multiple barcharts withing the same chart (i.e. the bars for same X-value are displayed directly next to one another).




[ Top ]


Class Methods


method setXValueWidth [line 74]

void setXValueWidth( double $xValueWidth)

Set the width of a single bar in terms on an "X" value



Parameters:

double   $xValueWidth   The width of a single bar in terms on an "X" value

[ Top ]

method spacing [line 65]

void spacing( int $space)

Set the spacing between 2 neighbouring bars



Parameters:

int   $space   The number of pixels between 2 bars, should be a multipla of 2 (ie an even number)

[ Top ]


Documentation generated on Fri, 12 Nov 2004 08:25:36 +0100 by phpDocumentor 1.3.0RC3