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)

ArgumentDefaultDescription
$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

ArgumentDefaultDescription
$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

ArgumentDefaultDescription
$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

ArgumentDefaultDescription
$aMix  No description available

Description:
No description available.

 

MGraph ::
SetExpired($aFlg)

ArgumentDefaultDescription
$aFlg true No description available

Description:
No description available.

 

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

ArgumentDefaultDescription
$aColor  No description available

Description:
No description available.

 

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

ArgumentDefaultDescription
$aFlg  No description available
$aColor 'black' No description available
$aWeight 1 No description available

Description:
No description available.

 

MGraph ::
SetImgFormat($aFormat, $aQuality)

ArgumentDefaultDescription
$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.');

ArgumentDefaultDescription
$lm  No description available
$rm  No description available
$tm  No description available
$bm  No description available

Description:
No description available.

 

MGraph ::
Stroke($aFileName)

ArgumentDefaultDescription
$aFileName '' No description available

Description:
No description available.

 

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

ArgumentDefaultDescription
$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

ArgumentDefaultDescription
$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.