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

Class: Image_Graph_Axis_Logarithmic

Source Location: /Graph/Axis/Logarithmic.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Axis
         |
         --Image_Graph_Axis_Logarithmic

Diplays a logarithmic axis (either X- or Y-axis).


Methods


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 42]
Diplays a logarithmic axis (either X- or Y-axis).



[ Top ]


Class Methods


constructor Image_Graph_Axis_Logarithmic [line 51]

Image_Graph_Axis_Logarithmic &Image_Graph_Axis_Logarithmic( [int $type = IMAGE_GRAPH_AXIS_X])

Image_Graph_AxisLogarithmic [Constructor].

Normally a manual creation should not be necessary, axis are created automatically by the {@see Image_Graph_Plotarea} constructor unless explicitly defined otherwise




Parameters:

int   $type   The type (direction) of the Axis, use IMAGE_GRAPH_AXIS_X for an X-axis (default, may be omitted) and IMAGE_GRAPH_AXIS_Y for Y-axis)

[ Top ]

method forceMinimum [line 82]

void forceMinimum( double $minimum)

Forces the minimum value of the axis.

For an logarithimc axis this 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 ]


Documentation generated on Fri, 12 Nov 2004 08:25:33 +0100 by phpDocumentor 1.3.0RC3