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

Class: Image_Graph_Simple

Source Location: /Image_Graph-0.3.0dev1/Graph/Simple.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph
         |
         --Image_Graph_Simple

Class for simple creation of graphs


Methods


Inherited Variables

Inherited Methods

Class: Image_Graph

Image_Graph::Image_Graph()
Image_Graph [Constructor].
Image_Graph::antialias()
Antialias on the graph
Image_Graph::cache()
Enable caching of the output.
Image_Graph::displayErrors()
Displays errors on canvas
Image_Graph::done()
Output to the canvas
Image_Graph::factory()
Factory method to create Image_Graph objects.
Image_Graph::height()
The height of the graph
Image_Graph::hideLogo()
Hides the logo from the output
Image_Graph::horizontal()
Factory method to create horizontal layout.
Image_Graph::layoutFactory()
Factory method to create layouts.
Image_Graph::newColor()
Get a new color.
Image_Graph::rotate()
Rotate the final graph
Image_Graph::saveAs()
Save the output as a file
Image_Graph::thumbnail()
Create the output as a thumbnail
Image_Graph::vertical()
Factory method to create vertical layout.
Image_Graph::width()
The width of the graph

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
Image_Graph_Element::write()
Writes text to the canvas.

Class: Image_Graph_Common

Image_Graph_Common::Image_Graph_Common()
Constructor
Image_Graph_Common::add()
Adds an element to the objects element list, the new Image_Graph_elements parent is automatically set
Image_Graph_Common::addNew()
Creates an object from the class specified and adds it to the objects element list.

Class Details

[line 43]
Class for simple creation of graphs


[ Top ]


Method Detail

Image_Graph_Simple (Constructor)   [line 51]

Image_Graph_Simple &Image_Graph_Simple( int $width, int $height, $plotType, $data, $title, [ $lineColor = 'black'], [ $fillColor = 'white'])

Image_Graph_Simple [Constructor]

Parameters:

int   $width   —  The width of the graph in pixels
int   $height   —  The height of the graph in pixels
   $plotType   — 
   $data   — 
   $title   — 
   $lineColor   — 
   $fillColor   — 

[ Top ]

factory   [line 88]

void &factory( $width, $height, $plotType, $data, $title, [ $lineColor = 'black'], [ $fillColor = 'white'])

Factory method to create the Image_Simple_Graph object.

Overrides Image_Graph::factory() (Factory method to create Image_Graph objects.)

Parameters:

   $width   — 
   $height   — 
   $plotType   — 
   $data   — 
   $title   — 
   $lineColor   — 
   $fillColor   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:57:46 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.