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

Class: Image_Graph_Plot

Source Location: /Graph/Plot.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plot

Framework for a chart


Author(s):

Methods


Child classes:

Image_Graph_Plot_Area
Area Chart plot.
Image_Graph_Plot_Bar
A bar chart.
Image_Graph_Plot_Dot
Dot chart (only marker).
Image_Graph_Plot_Line
Linechart
Image_Graph_Plot_MultipleData
Plot having multiple data sets
Image_Graph_Plot_Pie
2D Piechart
Image_Graph_Plot_Radar
Radar chart
Image_Graph_Plot_Smoothed_Bezier
Bezier smoothed plottype.

Inherited Methods

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 43]
Framework for a chart



Tags:

abstract:  


[ Top ]


Class Methods


constructor Image_Graph_Plot [line 79]

Image_Graph_Plot &Image_Graph_Plot( Dataset &$dataset, [string $title = ""])

PlotType [Constructor]



Parameters:

Dataset   $dataset   The data set (value containter) to plot
string   $title   The title of the plot (used for legends, {@see Image_Graph_Legend})

[ Top ]

method setDataSelector [line 125]

void setDataSelector( DataSelector &$dataSelector)

Sets the dataselector to specify which data should be displayed on the plot as markers and which are not



Parameters:

DataSelector   $dataSelector   The dataselector

[ Top ]

method setMarker [line 114]

void &setMarker( Marker &$marker)

Sets the marker to "display" data points on the graph



Parameters:

Marker   $marker   The marker

[ Top ]

method setTitle [line 94]

void setTitle( string $title)

Sets the title of the plot, used for legend



Parameters:

string   $title   The title of the plot

[ Top ]


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