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

Class: Image_Graph_Line_Array

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

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Line_Array

A sequential array of linestyles.


Methods


Inherited Variables

Inherited Methods

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 50]
A sequential array of linestyles.

This is used for multiple objects within the same element with different line styles. This is done by adding multiple line styles to a LineArrray structure. The linearray will then when requested return the 'next' linestyle in sequential order. It is possible to specify ID tags to each linestyle, which is used to make sure some data uses a specific linestyle (i.e. in a multiple-/stackedbarchart you name the {@see Image_Graph_Dataset}s and uses this name as ID tag when adding the dataset's associated linestyle to the linearray.



[ Top ]


Method Detail

add   [line 64]

void add( &$style, Image_Graph_Line $style)

Add a line 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:

Image_Graph_Line   $style   —  The style to add
   &$style   — 

[ Top ]


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