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

Class: Image_Graph_Dataset_Random

Source Location: /Image_Graph-0.8.0/Graph/Dataset/Random.php

Class Overview

Image_Graph_Dataset
   |
   --Image_Graph_Dataset_Trivial
      |
      --Image_Graph_Dataset_Random

Random data set, points are generated by random.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Groupn

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 52]
Random data set, points are generated by random.

This dataset is mostly (if not solely) used for demo-purposes.



[ Top ]


Method Detail

Image_Graph_Dataset_Random (Constructor)   [line 64]

Image_Graph_Dataset_Random Image_Graph_Dataset_Random( int $count, double $minimum, double $maximum, [bool $includeZero = false])

RandomDataset [Constructor]

Parameters:

int   $count     The number of points to create
double   $minimum     The minimum value the random set can be
double   $maximum     The maximum value the random set can be
bool   $includeZero     Whether 0 should be included or not as an X value, may be omitted, default: false</false>

[ Top ]


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