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

Class: Image_Graph_Layout_Plotarea

Source Location: /Image_Graph-0.3.0dev4/Graph/Layout/Plotarea.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plotarea_Element
         |
         --Image_Graph_Layout
            |
            --Image_Graph_Layout_Plotarea

A default/standard plotarea layout.


Author(s):

Methods


Inherited Variables

Inherited Methods

Class: Image_Graph_Layout

Image_Graph_Layout::Image_Graph_Layout()
Image_Graph_Layout [Constructor]

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::setFontAngle()
Sets the font angle
Image_Graph_Element::setFontColor()
Sets the font color
Image_Graph_Element::setFontSize()
Sets the font size
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]
Image_Graph_Common::add()
Adds an element to the objects element list.
Image_Graph_Common::addNew()
Creates an object from the class and adds it to the objects element list.

Class Details

[line 52]
A default/standard plotarea layout.

Image_Graph_PlotareaLayout creates a Image_Graph_Plotarea with assoiated layout's for a title, an X-axis title and a Y-axis title.



[ Top ]


Method Detail

Image_Graph_Layout_Plotarea (Constructor)   [line 99]

Image_Graph_Layout_Plotarea &Image_Graph_Layout_Plotarea( string $title, string $axisXTitle, string $axisYTitle)

PlotareaLayout [Constructor]

Parameters:

string   $title   —  The plotarea title
string   $axisXTitle   —  The title displayed on the X-axis (i.e. at the bottom)
string   $axisYTitle   —  The title displayed on the Y-axis (i.e. on the left - vertically)

[ Top ]

getLegend   [line 197]

Image_Graph_Legend &getLegend( )

Get the legend
  • Return: The legend

[ Top ]

getPlotarea   [line 156]

Image_Graph_Plotarea &getPlotarea( )

Get the plotarea
  • Return: The plotarea

[ Top ]

getTitle   [line 166]

Image_Graph_Title &getTitle( )

Get the title
  • Return: The title

[ Top ]

getTitleAxisX   [line 176]

Image_Graph_Title &getTitleAxisX( )

Get the X-axis title
  • Return: The x-axis title

[ Top ]

getTitleAxisY   [line 186]

Image_Graph_Title &getTitleAxisY( )

Get the X-axis title
  • Return: The x-axis title

[ Top ]


Documentation generated on Mon, 11 Mar 2019 14:21:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.