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

Class: Image_Graph_Marker_Value

Source Location: /Image_Graph-0.8.0/Graph/Marker/Value.php

Class Overview

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

A marker showing the data value.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Child classes:

myValueMarker
A marker showing the data value.

Inherited Variables

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::setFontAngle()
Sets the font angle
Image_Graph_Element::setFontColor()
Sets the font color
Image_Graph_Element::setFontSize()
Sets the font size
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
Image_Graph_Element::write()
Writes text to the canvas.
Image_Graph_Element::_clip()
Clip the canvas to the coordinates of the element

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor [Image_Graph_Common]
Image_Graph_Common::add()
Adds an element to the objects element list.
Image_Graph_Common::addNew()
Creates an object from the class and adds it to the objects element list.
Image_Graph_Common::hide()
Hide the element

Class Details

[line 50]
A marker showing the data value.


[ Top ]


Method Detail

Image_Graph_Marker_Value (Constructor)   [line 74]

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, i.e. the X or Y value

[ Top ]

setBackground   [line 91]

void setBackground( Image_Graph_Fill &$background)

Sets the background fill style of the element

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

Parameters:

Image_Graph_Fill   &$background     The background

[ Top ]

setBackgroundColor   [line 103]

void setBackgroundColor( mixed $color)

Sets the background color of the element

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

Parameters:

mixed   $color     The color

[ Top ]

setDataPreprocessor   [line 115]

Image_Graph_DataPreprocessor &setDataPreprocessor( DataPreprocessor &$dataPreprocessor)

Sets a data preprocessor for formatting the values
  • Return: The data preprocessor

Parameters:

DataPreprocessor   &$dataPreprocessor     The data preprocessor

[ Top ]


Documentation generated on Tue, 05 Oct 2010 16:01:15 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.