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

Class: Image_Graph_Dataset_Sequential

Source Location: /Graph/Dataset/Sequential.php

Class Overview

Image_Graph_Dataset
   |
   --Image_Graph_Dataset_Trivial
      |
      --Image_Graph_Dataset_Sequential

Sequential data set, simply add points (y) 1 by 1.


Methods


Inherited Methods

Class: Image_Graph_Dataset_Trivial

Image_Graph_Dataset_Trivial::Image_Graph_Dataset_Trivial()
Image_Graph_Dataset_Trivial [Constructor]
Image_Graph_Dataset_Trivial::addPoint()
Add a point to the dataset
Image_Graph_Dataset_Trivial::count()
The number of values in the dataset

Class: Image_Graph_Dataset

Image_Graph_Dataset::Image_Graph_Dataset()
Image_Graph_Dataset [Constructor]
Image_Graph_Dataset::addPoint()
Add a point to the dataset
Image_Graph_Dataset::count()
The number of values in the dataset
Image_Graph_Dataset::maximumX()
The maximum X value
Image_Graph_Dataset::maximumY()
The maximum Y value
Image_Graph_Dataset::minimumX()
The minimum X value
Image_Graph_Dataset::minimumY()
The minimum Y value
Image_Graph_Dataset::setName()
Sets the name of the data set, used for legending

Class Details

[line 45]
Sequential data set, simply add points (y) 1 by 1.

This is a single point dataset, all points are of the type (0, y1), (1, y2), (2, y3)... Where the X-value is implicitly incremented. This is useful for example for barcharts, where you could fx. use an {@see Image_Graph_Dataset_Array} datapreprocessor to make sence of the x-values.




[ Top ]


Class Methods


constructor Image_Graph_Dataset_Sequential [line 51]

Image_Graph_Dataset_Sequential &Image_Graph_Dataset_Sequential( [mixed $dataArray = false])

Image_Graph_SequentialDataset [Constructor]



[ Top ]

method addPoint [line 67]

void addPoint( int $y, [var $ID = false])

Add a point to the dataset



Overrides Image_Graph_Dataset_Trivial::addPoint() (Add a point to the dataset)

Parameters:

int   $y   The Y value to add, can be omited
var   $ID   The ID of the point

[ Top ]

method maximumX [line 96]

var maximumX( )

The maximum X value



Tags:

return:  The maximum X value


Overrides Image_Graph_Dataset::maximumX() (The maximum X value)

[ Top ]

method minimumX [line 87]

var minimumX( )

The minimum X value



Tags:

return:  The minimum X value


Overrides Image_Graph_Dataset::minimumX() (The minimum X value)

[ Top ]


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