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

Class: Image_Graph_Marker_Array

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

Class Overview

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

A sequential array of markers.


Methods


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::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 49]
A sequential array of markers.

This is used for displaying different markers for datapoints on a chart. This is done by adding multiple markers to a MarkerArrray structure. The marker array will then when requested return the 'next' marker in sequential order. It is possible to specify ID tags to each marker, which is used to make sure some data uses a specific marker.



[ Top ]


Method Detail

add   [line 63]

void add( &$marker, Marker $marker)

Add a marker style to the array

Overrides Image_Graph_Common::add() (Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set)

Parameters:

Marker   $marker   —  The marker to add
   &$marker   — 

[ Top ]


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