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

Class: Image_Graph_Dataset_Sequential

Source Location: /Image_Graph-0.8.0/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.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Inherited Variables

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
Image_Graph_Dataset_Trivial::first()
The first point
Image_Graph_Dataset_Trivial::last()
The last point

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::first()
The first point
Image_Graph_Dataset::last()
The last point
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 55]
Sequential data set, simply add points (y) 1 by 1.

This is a single point (1D) 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 Image_Graph_Dataset_Array datapreprocessor to make sence of the x-values.



[ Top ]


Method Detail

Image_Graph_Dataset_Sequential (Constructor)   [line 63]

Image_Graph_Dataset_Sequential Image_Graph_Dataset_Sequential( [array $dataArray = false])

Image_Graph_SequentialDataset [Constructor]

Parameters:

array   $dataArray     Array with data

[ Top ]

addPoint   [line 82]

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 ]

maximumX   [line 116]

var maximumX( )

The maximum X value
  • Return: The maximum X value

Overrides Image_Graph_Dataset::maximumX() (The maximum X value)
[ Top ]

minimumX   [line 106]

var minimumX( )

The minimum X value
  • Return: The minimum X value

Overrides Image_Graph_Dataset::minimumX() (The minimum X value)
[ Top ]


Documentation generated on Tue, 05 Oct 2010 16:01:11 +0000 by phpDocumentor 1.4.3. PEAR Logo Copyright © PHP Group 2004.