Libchart

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

Axis Class Reference

List of all members.

Public Member Functions

 Axis ($min, $max)
 quantizeTics ()
 computeBoundaries ()
 getLowerBoundary ()
 getUpperBoundary ()
 getTics ()

Detailed Description

Automatic axis boundaries and ticks calibration

Author:
Jean-Marc Trémeaux (jm.tremeaux at gmail.com)


Member Function Documentation

Axis::Axis ( $  min,
$  max 
)

Creates a new axis formatter.

Parameters:
integer minimum value on the axis
integer maximum value on the axis

Axis::quantizeTics (  ) 

Computes value between two ticks.

Axis::computeBoundaries (  ) 

Computes automatic boundaries on the axis

Axis::getLowerBoundary (  ) 

Get the lower boundary on the axis3

Returns:
integer lower boundary on the axis

Axis::getUpperBoundary (  ) 

Get the upper boundary on the axis3

Returns:
integer upper boundary on the axis

Axis::getTics (  ) 

Get the value between two ticks3

Returns:
integer value between two ticks


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

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