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

Class: Image_Graph_Line_Array

Source Location: /Graph/Line/Array.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Line_Array

A sequential array of linestyles.


Methods


Inherited Methods

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 48]
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 ]


Class Methods


method add [line 62]

void add( 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

[ Top ]


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