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

Class: Image_Graph_Axis_Sequential

Source Location: /Graph/Axis/Sequential.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Axis
         |
         --Image_Graph_Axis_Sequential

A normal axis thats displays labels with a "interval" of 1.


Methods


Inherited Variables

Inherited Methods

Class: Image_Graph_Axis

Image_Graph_Axis::Image_Graph_Axis()
Image_Graph_Axis [Constructor].
Image_Graph_Axis::forceMaximum()
Forces the maximum value of the axis
Image_Graph_Axis::forceMinimum()
Forces the minimum value of the axis
Image_Graph_Axis::hideArrow()
Do not show an arrow head on the "end" of the axis (default)
Image_Graph_Axis::setDataPreProcessor()
Sets a data preprocessor for formatting the axis labels
Image_Graph_Axis::setLabelInterval()
Sets an interval for when labels are shown on the axis.
Image_Graph_Axis::showArrow()
Show an arrow head on the "end" of the axis
Image_Graph_Axis::showLabel()
Shows a label for the the specified values.

Class: Image_Graph_Element

Image_Graph_Element::height()
The height of the element on the canvas
Image_Graph_Element::setBackground()
Sets the background fill style of the element
Image_Graph_Element::setBackgroundColor()
Sets the background color of the element
Image_Graph_Element::setBorderColor()
Sets the border color of the element
Image_Graph_Element::setBorderStyle()
Sets the border line style of the element
Image_Graph_Element::setFillColor()
Sets the fill color of the element
Image_Graph_Element::setFillStyle()
Sets the fill style of the element
Image_Graph_Element::setFont()
Sets the font of the element
Image_Graph_Element::setLineColor()
Sets the line color of the element
Image_Graph_Element::setLineStyle()
Sets the line style of the element
Image_Graph_Element::setPadding()
Sets padding of the element
Image_Graph_Element::showShadow()
Shows shadow on the element
Image_Graph_Element::width()
The width of the element on the canvas

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Creates an a instance of Image_Graph_Common.
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addColor()
Add a color. Ultimately it should call addColor() from the Image_Graph object
Image_Graph_Common::newColor()
Create a new Image_Graph_color.
Image_Graph_Common::setName()
Sets the name

Class Details

[line 45]
A normal axis thats displays labels with a "interval" of 1.

This is basically a normal axis where the range is the number of labels defined, that is the range is explicitly defined when constructing the axis.




[ Top ]


Class Methods


constructor Image_Graph_Axis_Sequential [line 59]

Image_Graph_Axis_Sequential &Image_Graph_Axis_Sequential( array $labels, [int $type = IMAGE_GRAPH_AXIS_X])

Image_Graph_AxisSequential [Constructor].



Parameters:

array   $labels   The labels shown on the Axis
int   $type   The type (direction) of the Axis

[ Top ]

method forceMaximum [line 123]

void forceMaximum( double $maximum)

Forces the maximum value of the axis A maximum cannot be set on a SequentialAxis, it is always the number of labels passed to the constructor.



Overrides Image_Graph_Axis::forceMaximum() (Forces the maximum value of the axis)

Parameters:

double   $maximum   The maximum value to use on the axis

[ Top ]

method forceMinimum [line 113]

void forceMinimum( double $minimum)

Forces the minimum value of the axis A minimum cannot be set on a SequentialAxis, it is always 0.



Overrides Image_Graph_Axis::forceMinimum() (Forces the minimum value of the axis)

Parameters:

double   $minimum   The minumum value to use on the axis

[ Top ]

method setLabelInterval [line 132]

void setLabelInterval( [double $labelInterval = IMAGE_GRAPH_AXIS_INTERVAL_AUTO])

Sets an interval for when labels are shown on the axis.

The label interval cannot be set for a SequentialAxis




Overrides Image_Graph_Axis::setLabelInterval() (Sets an interval for when labels are shown on the axis.)

Parameters:

double   $labelInterval   The interval with which labels are shown

[ Top ]


Documentation generated on Wed, 15 Sep 2004 10:30:46 +0200 by phpDocumentor 1.2.3