Libchart

Simple PHP chart drawing library
  • Introduction
  • Download
  • Sample Code
  • Reference API
  • Links
  • Main Page
  • Classes
  • Directories
  • Class List
  • Class Members

Bound Class Reference

List of all members.

Public Member Functions

 computeBound ($dataSet)
 getYMinValue ()
 getYMaxValue ()
 setLowerBound ($lowerBound)
 setUpperBound ($upperBound)

Detailed Description

Object representing the bounds of a dataset (its minimal and maximal values) on its vertical axis. The bounds are automatically calculated from a XYDataSet or XYSeriesDataSet. Default (calculated) bounds can be overriden using the setLowerBound() and setUpperBound() methods.

Author:
Jean-Marc Trémeaux (jm.tremeaux at gmail.com) Created on 25 july 2007


Member Function Documentation

Bound::computeBound ( $  dataSet  ) 

Compute the boundaries on the axis.

Parameters:
dataSet The data set

Bound::getYMinValue (  ) 

Getter of yMinValue.

Returns:
min bound

Bound::getYMaxValue (  ) 

Getter of yMaxValue.

Returns:
max bound

Bound::setLowerBound ( $  lowerBound  ) 

Set manually the lower boundary value (overrides the automatic formatting). Typical usage is to set the bars starting from zero.

Parameters:
double lower boundary value

Bound::setUpperBound ( $  upperBound  ) 

Set manually the upper boundary value (overrides the automatic formatting).

Parameters:
double upper boundary value


The documentation for this class was generated from the following file:
  • Bound.php

Site last modified August 13th, 2007 by Jean-Marc Trémeaux