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

Class: Image_Graph_Marker

Source Location: /Image_Graph-0.3.0dev1/Graph/Marker.php

Class Overview

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

Data point marker.


Author(s):

Methods


Child classes:

Image_Graph_Marker_Cross
Data marker as a cross
Image_Graph_Marker_Value
A marker showing the data value.
Image_Graph_Marker_Triangle
Data marker as a triangle
Image_Graph_Marker_Box
Data marker as a box
Image_Graph_Marker_Icon
Data marker using an image as icon
Image_Graph_Marker_FloodFill
Data marker as floodedfill (require GD2)
Image_Graph_Marker_Circle
Data marker as circle (require GD2)
Image_Graph_Marker_Average
A marker displaying the 'distance' to the datasets average value.
Image_Graph_Marker_Asterisk
Data marker as an asterisk (*)
Image_Graph_Marker_Diamond
Data marker as a diamond
Image_Graph_Marker_Array
A sequential array of markers.
Image_Graph_Marker_Pointing
Data marker as a 'pointing marker', ie it points to the data using another marker (as start and/or end)
Image_Graph_Marker_Plus
Data marker as a plus

Inherited Variables

Inherited Methods

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
Image_Graph_Element::write()
Writes text to the canvas.

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addNew()
Creates an object from the class specified and adds it to the objects element list.

Class Details

[line 47]
Data point marker.

The data point marker is used for marking the datapoints on a graph with some visual label, fx. a cross, a text box with the value or an icon.

  • Abstract:


[ Top ]


Method Detail

setSecondaryMarker   [line 77]

void setSecondaryMarker( &$secondaryMarker, Marker $secondaryMarker)

Set the secondary marker

Parameters:

Marker   $secondaryMarker   —  The secondary marker
   &$secondaryMarker   — 

[ Top ]

setSize   [line 68]

void setSize( int $size)

Set the 'size' of the marker

Parameters:

int   $size   —  The 'size' of the marker, the meaning depends on the specific Marker implementation

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:57:45 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.