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

Class: Image_Graph_Marker_Value

Source Location: /Graph/Marker/Value.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Marker
         |
         --Image_Graph_Marker_Value

A marker showing the data value.


Methods


Inherited Methods

Class: Image_Graph_Marker

Image_Graph_Marker::setSecondaryMarker()
Set the secondary marker
Image_Graph_Marker::setSize()
Set the "size" of the marker

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 42]
A marker showing the data value.



[ Top ]


Class Methods


constructor Image_Graph_Marker_Value [line 70]

Image_Graph_Marker_Value &Image_Graph_Marker_Value( [int $useValue = IMAGE_GRAPH_VALUE_X])

Create a value marker, ie a box containing the value of the "pointing data"



Parameters:

int   $useValue   Defines which value to use from the dataset, ie the X or Y value

[ Top ]

method setBackground [line 85]

void setBackground( Image_Graph_Fill &$background)

Sets the background fill style of the element



Tags:



Overrides Image_Graph_Element::setBackground() (Sets the background fill style of the element)

Parameters:

Image_Graph_Fill   $background   The background

[ Top ]

method setBackgroundColor [line 96]

void setBackgroundColor( int $red, [int $green = false], [int $blue = false])

Sets the background color of the element



Overrides Image_Graph_Element::setBackgroundColor() (Sets the background color of the element)

Parameters:

int   $red   The red part (or the whole)
int   $green   The green part (if omitted the $red part must contain the whole 24-bit color)
int   $blue   The blue part (if omitted the $red part must contain the whole 24-bit color)

[ Top ]

method setDataPreprocessor [line 106]

Image_Graph_DataPreprocessor &setDataPreprocessor( DataPreprocessor &$dataPreprocessor)

Sets a data preprocessor for formatting the values



Tags:

return:  The data preprocessor


Parameters:

DataPreprocessor   $dataPreprocessor   The data preprocessor

[ Top ]


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