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)

Argument | Default | Description
--- | --- | ---
$aStart |  | No description available
$aEnd |  | No description available
$aColor |  | No description available

Description:
No description available.

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

Argument | Default | Description
--- | --- | ---
$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)

Argument | Default | Description
--- | --- | ---
$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)

Argument | Default | Description
--- | --- | ---
$aColor |  | No description available
$aWidth | 1 | No description available

Description:
No description available.

Odometer ::
SetCenterAreaWidth($aWidth)

Argument | Default | Description
--- | --- | ---
$aWidth |  | No description available

Description:
No description available.

Odometer ::
SetColor($aColor)

Argument | Default | Description
--- | --- | ---
$aColor |  | No description available

Description:
No description available.

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

Argument | Default | Description
--- | --- | ---
$aMargin |  | No description available

Description:
No description available.

Odometer ::
SetPos($aXc, $aYc)

Argument | Default | Description
--- | --- | ---
$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

Argument | Default | Description
--- | --- | ---
$aRadius |  | No description available

Description:
No description available.

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

Argument | Default | Description
--- | --- | ---
$graph |  | No description available

Description:
No description available.

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

Argument | Default | Description
--- | --- | ---
$img |  | No description available

Description:
No description available.

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

Argument | Default | Description
--- | --- | ---
$aStyle | ODO_HALF | No description available

Description:
No description available.