Class MGraph
(Defined in: jpgraph_mgraph.php : 16)

MGraph

Add()
AddMix()
SetBackgroundImage()
SetBackgroundImageMix()
SetExpired()
SetFillColor()
SetFrame()
SetImgFormat()
SetMargin()
Stroke()
_gdImgHandle()
_strokeBackgroundImage()
__construct()

Class usage and Overview

Class Methods

MGraph ::
Add($aGraph, $x, $y, $fx, $fy, $w, $h)

Argument | Default | Description
--- | --- | ---
$aGraph |  | No description available
$x | 0 | No description available
$y | 0 | No description available
$fx | 0 | No description available
$fy | 0 | No description available
$w | 0 | No description available
$h | 0 | No description available

Description:
No description available.

MGraph ::
AddMix($aGraph, $x, $y, $mix, $fx, $fy, $w, $h)
// Just copy the image from left corner, no resizing

Argument | Default | Description
--- | --- | ---
$aGraph |  | No description available
$x | 0 | No description available
$y | 0 | No description available
$mix | 100 | No description available
$fx | 0 | No description available
$fy | 0 | No description available
$w | 0 | No description available
$h | 0 | No description available

Description:
No description available.

MGraph ::
SetBackgroundImage($aFileName, $aCenter_aX, $aY)
// Specify a background image

Argument | Default | Description
--- | --- | ---
$aFileName |  | No description available
$aCenter_aX | NULL | No description available
$aY | NULL | No description available

Description:
No description available.

MGraph ::
SetBackgroundImageMix($aMix)
// Specify a background image blend

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

Description:
No description available.

MGraph ::
SetExpired($aFlg)

Argument | Default | Description
--- | --- | ---
$aFlg | true | No description available

Description:
No description available.

MGraph ::
SetFillColor($aColor)
// Specify background fill color for the combined graph

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

Description:
No description available.

MGraph ::
SetFrame($aFlg, $aColor, $aWeight)
// Add a frame around the combined graph

Argument | Default | Description
--- | --- | ---
$aFlg |  | No description available
$aColor | 'black' | No description available
$aWeight | 1 | No description available

Description:
No description available.

MGraph ::
SetImgFormat($aFormat, $aQuality)

Argument | Default | Description
--- | --- | ---
$aFormat |  | No description available
$aQuality | 75 | No description available

Description:
No description available.

MGraph ::
SetMargin($lm, $rm, $tm, $bm)
//('Argument to MGraph::Add() is not a valid GD image handle.');

Argument | Default | Description
--- | --- | ---
$lm |  | No description available
$rm |  | No description available
$tm |  | No description available
$bm |  | No description available

Description:
No description available.

MGraph ::
Stroke($aFileName)

Argument | Default | Description
--- | --- | ---
$aFileName | '' | No description available

Description:
No description available.

MGraph ::
_gdImgHandle($agdCanvas, $x, $y, $fx, $fy, $w, $h, $mix)

Argument | Default | Description
--- | --- | ---
$agdCanvas |  | No description available
$x |  | No description available
$y |  | No description available
$fx | 0 | No description available
$fy | 0 | No description available
$w | 0 | No description available
$h | 0 | No description available
$mix | 100 | No description available

Description:
No description available.

MGraph ::
_strokeBackgroundImage()
//('Unknown file extension ($aImgFormat) in MGraph::SetBackgroundImage() for filename: '.$aFileName);

Description:
No description available.

MGraph ::
__construct($aWidth, $aHeight, $aCachedName, $aTimeOut, $aInline)
// Create a new instane of the combined graph

Argument | Default | Description
--- | --- | ---
$aWidth | NULL | No description available
$aHeight | NULL | No description available
$aCachedName | '' | No description available
$aTimeOut | 0 | No description available
$aInline | true | No description available

Description:
No description available.