Class RadarGraph Extends Graph
(Defined in: jpgraph_radar.php : 554)
 
 RadarGraph  Graph 
 Add() 
 HideTickMarks() 
 SetCenter() 
 SetColor() 
 SetPlotSize() 
 SetPos() 
 SetScale() 
 SetSize() 
 SetTickDensity() 
 SetTitles() 
 ShowMinorTickmarks() 
 Stroke() 
 StrokeIcons() 
 StrokeTexts() 
 __construct() 
 Add() 
 AddBand() 
 AddLine() 
 AddText() 
 AddY() 
 AddY2() 
 CheckCSIMCache() 
 GetCSIMImgHTML() 
 GetHTMLImageMap() 
 Set3DPerspective() 
 Set90AndMargin() 
 SetAlphaBlending() 
 SetAngle() 
 SetAxisLabelBackground() 
 SetAxisStyle() 
 SetBackgroundCFlag() 
 SetBackgroundCountryFlag() 
 SetBackgroundGradient() 
 SetBackgroundImage() 
 SetBackgroundImageMix() 
 SetBackgroundImagePos() 
 SetBox() 
 SetClipping() 
 SetColor() 
 SetCSIMImgAlt() 
 SetFrame() 
 SetFrameBevel() 
 SetGridDepth() 
 SetIconDepth() 
 SetImgFormat() 
 SetMargin() 
 SetMarginColor() 
 SetScale() 
 SetShadow() 
 SetTextScaleAbsCenterOff() 
 SetTickDensity() 
 SetTitleBackground() 
 SetTitleBackgroundFillStyle() 
 SetUserFont() 
 SetUserFont1() 
 SetUserFont2() 
 SetUserFont3() 
 SetY2OrderBack() 
 SetY2Scale() 
 SetYDeltaDist() 
 SetYScale() 
 Stroke() 
 StrokeCSIM() 
 StrokeCSIMImage() 
 StrokeFrameBackground() 
 StrokeStore() 
 __construct() 
 

Class usage and Overview
Spider graph. This graph type can only be used together with spider plots.

 


Class Methods

 

RadarGraph ::
Add($aPlot)
Add a spider plot to the spider graph

ArgumentDefaultDescription
$aPlot  No description available

Description:
Add a spider plot to the spider graph 

Example:

$spidergraph->Add($spiderplot1);

 

RadarGraph ::
HideTickMarks($aFlag)
Hide tick marks on spider axis

ArgumentDefaultDescription
$aFlag true True=Hide tick marks

Description:
Hide tick marks on spider axis 

Example:

$spidergraph->HideTickMarks();

 

RadarGraph ::
SetCenter($px, $py)
Specify position for center of spider graph

ArgumentDefaultDescription
$px  Fraction of width
$py 0.5 Fraction of height

Description:
Specify the position for the center of the spider graph in fractions of the image width and height. 

Example:

$spidergraph->SetCenter(0.60.5);

 

RadarGraph ::
SetColor($aColor)
Set background color for graph

ArgumentDefaultDescription
$aColor  No description available

Description:
Set background color for graph 

Example:

$spidergraph->SetColor('lightyellow');

 

RadarGraph ::
SetPlotSize($aSize)
Specify size of spider graph

ArgumentDefaultDescription
$aSize  Fraction of image size

Description:
DEPRECATED
Use SetSize() instead
Specify the length of the axis of the spider plot as fraction of the min(height,width) 
 
See also:

Example:

$radargraph->SetPlotSize(0.7);

 

RadarGraph ::
SetPos($px, $py)
Alias for Set Center. Specify position of the center of the graph

ArgumentDefaultDescription
$px  Fraction of width
$py 0.5 Fraction of height

Description:
Alias for SetCenter. Specify position for the center of the graph. 
 
See also:

Example:

$graph->SetPos(0.5,0.6);

 

RadarGraph ::
SetScale($axtype, $ymin, $ymax, $dummy1, $dumy2)
Specify manual scale for spider graph

ArgumentDefaultDescription
$axtype  Axis type
$ymin 1 Min Y-value
$ymax 1 Max Y-value
$dummy1 null No description available
$dumy2 null No description available

Description:
Specify axis type and min/max value for the scale. 

Example:

$spidergraph->SetScale('lin',0,50);

 

RadarGraph ::
SetSize($aSize)
Specify the length of the axis

ArgumentDefaultDescription
$aSize  Fraction of image size

Description:
pecify the length of the axis of the spider plot as fraction of the min(height,width) 

Example:

$radargraph->SetPlotSize(0.7);

 

RadarGraph ::
SetTickDensity($densy, $dummy1)
Specify tick density

ArgumentDefaultDescription
$densy TICKD_NORMAL Density
$dummy1 null No description available

Description:
Tick density can be specified as  

Example:

$spidergraph->SetTickDensity(TICKD_VERYSPARSE);

 

RadarGraph ::
SetTitles($aTitleArray)
Specify titles for all the spider axis

ArgumentDefaultDescription
$aTitleArray  No description available

Description:
Set the title for the axis in the spider graph. If no titles have been specified then they will be numbered from 1 to maximum number of axis. 

Example:

$spidergraph->SetTitles(array('Jan','Feb','March','Apr'));

 

RadarGraph ::
ShowMinorTickmarks($aFlag)
Show minor tick marks

ArgumentDefaultDescription
$aFlag true True=Show minor tick marks

Description:
By default the minor tick marks are hidden. This method turns them on. 

Example:

$spidergraph->ShowMinorTickMArks();

 

RadarGraph ::
Stroke($aStrokeFileName)
Stroke the Spider graph

ArgumentDefaultDescription
$aStrokeFileName '' Filename

Description:
Stroke the spider graph and send it back to the browser or write it to a file if a filename have been specified. This is normally the last method call in your script. 
 
See also:

Example:

$spidergraph->Stroke();

 

RadarGraph ::
StrokeIcons()
//("Minimum data $min (Radar plots should only be used when all data points > 0)");


Description:
No description available.

 

RadarGraph ::
StrokeTexts()


Description:
No description available.

 

RadarGraph ::
__construct($width, $height, $cachedName, $timeout, $inline)
Construct a new radar graph

ArgumentDefaultDescription
$width 300 Imaghe width
$height 200 Image Height
$cachedName "" Cache file name
$timeout 0 Cache timout (in minutes)
$inline 1 Inline image

Description:
See Graph::Graph().  
 
See also:

Example:

$radargraph = new RadarGraph(300,300);