Class Odometer
(Defined in: jpgraph_odo.php : 497)
 
 Odometer 
 AddIndication() 
 FilledCircle() 
 LayoutSize() 
 SetBase() 
 SetBorder() 
 SetCenterAreaWidth() 
 SetColor() 
 SetMargin() 
 SetPos() 
 SetSize() 
 Stroke() 
 StrokeFascia() 
 __construct() 
 

Class usage and Overview

 


Class Methods

 

Odometer ::
AddIndication($aStart, $aEnd, $aColor)

ArgumentDefaultDescription
$aStart  No description available
$aEnd  No description available
$aColor  No description available

Description:
No description available.

 

Odometer ::
FilledCircle($img, $aXc, $aYc, $aRadius, $aFillColor)

ArgumentDefaultDescription
$img  No description available
$aXc  No description available
$aYc  No description available
$aRadius  No description available
$aFillColor  No description available

Description:
No description available.

 

Odometer ::
LayoutSize()
// Dummy method to make odometers have the same signature as the// layout classes since odometer is "leaf" classes in the hierarchy


Description:
No description available.

 

Odometer ::
SetBase($aShowBase, $aWidth, $aColor1, $aColor2, $aColor3)

ArgumentDefaultDescription
$aShowBase  No description available
$aWidth 0.1 No description available
$aColor1 "navy" No description available
$aColor2 "steelblue" No description available
$aColor3 "white" No description available

Description:
No description available.

 

Odometer ::
SetBorder($aColor, $aWidth)

ArgumentDefaultDescription
$aColor  No description available
$aWidth 1 No description available

Description:
No description available.

 

Odometer ::
SetCenterAreaWidth($aWidth)

ArgumentDefaultDescription
$aWidth  No description available

Description:
No description available.

 

Odometer ::
SetColor($aColor)

ArgumentDefaultDescription
$aColor  No description available

Description:
No description available.

 

Odometer ::
SetMargin($aMargin)
// Only the first needle is shown by default

ArgumentDefaultDescription
$aMargin  No description available

Description:
No description available.

 

Odometer ::
SetPos($aXc, $aYc)

ArgumentDefaultDescription
$aXc  No description available
$aYc  No description available

Description:
No description available.

 

Odometer ::
SetSize($aRadius)
// Set size. A value in the range 0 to 1 is interpretated as// fraction of min(width,heigth) while a value > 1 is interpretated// as absolute size

ArgumentDefaultDescription
$aRadius  No description available

Description:
No description available.

 

Odometer ::
Stroke($graph)
// Finally draw bottom line if ODO_HALF

ArgumentDefaultDescription
$graph  No description available

Description:
No description available.

 

Odometer ::
StrokeFascia($img)
// Stroke the outline of the odometer

ArgumentDefaultDescription
$img  No description available

Description:
No description available.

 

Odometer ::
__construct($aStyle)
//===================================================// CLASS Odometer// Description: Main class to draw a odometer//===================================================

ArgumentDefaultDescription
$aStyle ODO_HALF No description available

Description:
No description available.