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

Class: Image_Graph_Plot_Odo

Source Location: /Image_Graph-0.8.0/Graph/Plot/Odo.php

Class Overview

Image_Graph_Common
   |
   --Image_Graph_Element
      |
      --Image_Graph_Plotarea_Element
         |
         --Image_Graph_Plot
            |
            --Image_Graph_Plot_Odo

2D Odochart.


Author(s):

Version:

  • Release: 0.8.0

Copyright:

  • 2003-2009 The PHP Group

Methods


Inherited Variables

Inherited Methods

Class: Image_Graph_Plot

Image_Graph_Plot::Image_Graph_Plot()
PlotType [Constructor]
Image_Graph_Plot::dataset()
Get the dataset
Image_Graph_Plot::setDataSelector()
Sets the dataselector to specify which data should be displayed on the plot as markers and which are not
Image_Graph_Plot::setMarker()
Sets the marker to 'display' data points on the graph
Image_Graph_Plot::setTitle()
Sets the title of the plot, used for legend

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.
Image_Graph_Element::_clip()
Clip the canvas to the coordinates of the element

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.
Image_Graph_Common::hide()
Hide the element

Class Details

[line 55]
2D Odochart.


[ Top ]


Method Detail

Image_Graph_Plot_Odo (Constructor)   [line 179]

void Image_Graph_Plot_Odo( Image_Graph_Dataset &$dataset)

Plot_Odo [Constructor]

dataset with one data per arrow


Parameters:

Image_Graph_Dataset   &$dataset   —  The data set (value containter) to plot or an array of datasets Image_Graph_Legend

[ Top ]

addRangeMarker   [line 595]

void addRangeMarker( float $min, float $max, [boolean $id = false])

Set range

add dataset with two data start and end value of the range


Parameters:

float   $min   —  ???
float   $max   —  ???
boolean   $id   —  ??? (optional)

[ Top ]

setAngles   [line 289]

void setAngles( integer $deg_offset, integer $deg_width)

Set start's angle and amplitude of the chart
  • Access: public

Parameters:

integer   $deg_offset   —  the start angle
integer   $deg_width   —  the angle of the chart (the length)

[ Top ]

setArrowFillStyle   [line 458]

void setArrowFillStyle( Image_Graph_Fill $fillStyle)

Set the fillstyle of the arrows

Parameters:

Image_Graph_Fill   $fillStyle   —  The fill style of the arrows

[ Top ]

setArrowLineStyle   [line 444]

void setArrowLineStyle( Image_Graph_Line $lineStyle)

Set the line style of the arrows
  • See: Image_Graph_Line
  • Access: public

Parameters:

Image_Graph_Line   $lineStyle   —  The line style of the Arrow

[ Top ]

setArrowMarker   [line 329]

void setArrowMarker( Image_Graph_Marker &$marker)

Set the arrow marker

Parameters:

Image_Graph_Marker   &$marker   —  The marker to set for arrow marker

[ Top ]

setArrowSize   [line 316]

void setArrowSize( int $length, int $width)

set the width and length of the arrow (in percent of the total plot "radius")

Parameters:

int   $length   —  The length in percent
int   $width   —  The width in percent

[ Top ]

setAxisTicks   [line 375]

void setAxisTicks( int $ticks)

set the axis ticks
  • Access: public

Parameters:

int   $ticks   —  Ticks on axis

[ Top ]

setCenter   [line 209]

void setCenter( int $centerX, int $centerY)

Set the center of the odometer

Parameters:

int   $centerX   —  The center x point
int   $centerY   —  The center y point

[ Top ]

setRadiusWidth   [line 303]

void setRadiusWidth( string $radius_percent)

set the width of the chart
  • Access: public

Parameters:

string   $radius_percent   —  a value between 0 and 100

[ Top ]

setRange   [line 274]

void setRange( integer $value_min, integer $value_max)

set min and max value of the range
  • Access: public

Parameters:

integer   $value_min   —  the minimun value of the chart or the start value
integer   $value_max   —  the maximum value of the chart or the end value

[ Top ]

setRangeMarkerFillStyle   [line 613]

void &setRangeMarkerFillStyle( Image_Graph_Fill &$rangeMarkerFillStyle)

Set the fillstyle of the ranges

Parameters:

Image_Graph_Fill   &$rangeMarkerFillStyle   —  The fill style of the range marker

[ Top ]

setTickLength   [line 362]

void setTickLength( int $length)

set the length of the ticks
  • Access: public

Parameters:

int   $length   —  Length of ticks

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:39:36 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.