Class WindrosePlot
(Defined in: jpgraph_windrose.php : 385)
 
 WindrosePlot 
 FixupIndexes() 
 getHeight() 
 getWidth() 
 LayoutSize() 
 NormAngle() 
 SetAntiAlias() 
 SetAutoScaleAngle() 
 SetBox() 
 SetCenterPos() 
 SetCenterSize() 
 SetColor() 
 SetCompassLabels() 
 SetDataKeyEncoding() 
 SetFont() 
 SetFontColor() 
 SetGridColor() 
 SetGridWeight() 
 SetLabelFormat() 
 SetLabelMargin() 
 SetLabelPosition() 
 SetLabels() 
 SetPos() 
 SetRadialColors() 
 SetRadialGridStyle() 
 SetRadialStyles() 
 SetRadialWeights() 
 SetRangeColors() 
 SetRanges() 
 SetRangeStyle() 
 SetRangeWeights() 
 SetSize() 
 SetType() 
 SetZCircleSize() 
 Stroke() 
 _StrokeFreeRose() 
 _StrokeLegend() 
 _StrokeRegularRose() 
 _StrokeWindLeg() 
 _ThickCircle() 
 __construct() 
 

Class usage and Overview

 


Class Methods

 

WindrosePlot ::
FixupIndexes($aDataArray, $num)
// Translate potential string specified compass labels to their// corresponding index.

ArgumentDefaultDescription
$aDataArray  No description available
$num  No description available

Description:
No description available.

 

WindrosePlot ::
getHeight($aImg)
// Make sure that the width of the legend fits

ArgumentDefaultDescription
$aImg  No description available

Description:
No description available.

 

WindrosePlot ::
getWidth($aImg)
// We want the non scaled original radius

ArgumentDefaultDescription
$aImg  No description available

Description:
No description available.

 

WindrosePlot ::
LayoutSize()
// Dummy method to make window plots have the same signature as the// layout classes since windrose plots are "leaf" classes in the hierarchy


Description:
No description available.

 

WindrosePlot ::
NormAngle($a)
// Some heuristics to have some preferred positions

ArgumentDefaultDescription
$a  No description available

Description:
No description available.

 

WindrosePlot ::
SetAntiAlias($aFlag)

ArgumentDefaultDescription
$aFlag  No description available

Description:
No description available.

 

WindrosePlot ::
SetAutoScaleAngle($aIsRegRose)
// Draw the text under the legend

ArgumentDefaultDescription
$aIsRegRose true No description available

Description:
No description available.

 

WindrosePlot ::
SetBox($aColor, $aWeight, $aStyle, $aShow)

ArgumentDefaultDescription
$aColor 'black' No description available
$aWeight 1 No description available
$aStyle 'solid' No description available
$aShow true No description available

Description:
No description available.

 

WindrosePlot ::
SetCenterPos($aX, $aY)
// Alias for SetPos()

ArgumentDefaultDescription
$aX  No description available
$aY  No description available

Description:
No description available.

 

WindrosePlot ::
SetCenterSize($aSize)

ArgumentDefaultDescription
$aSize  No description available

Description:
No description available.

 

WindrosePlot ::
SetColor($aColor)

ArgumentDefaultDescription
$aColor  No description available

Description:
No description available.

 

WindrosePlot ::
SetCompassLabels($aLabels)

ArgumentDefaultDescription
$aLabels  No description available

Description:
No description available.

 

WindrosePlot ::
SetDataKeyEncoding($aEncoding)

ArgumentDefaultDescription
$aEncoding  No description available

Description:
No description available.

 

WindrosePlot ::
SetFont($aFFam, $aFStyle, $aFSize)

ArgumentDefaultDescription
$aFFam  No description available
$aFStyle FS_NORMAL No description available
$aFSize 10 No description available

Description:
No description available.

 

WindrosePlot ::
SetFontColor($aColor)

ArgumentDefaultDescription
$aColor  No description available

Description:
No description available.

 

WindrosePlot ::
SetGridColor($aColor1, $aColor2)

ArgumentDefaultDescription
$aColor1  No description available
$aColor2  No description available

Description:
No description available.

 

WindrosePlot ::
SetGridWeight($aGrid1, $aGrid2)

ArgumentDefaultDescription
$aGrid1 1 No description available
$aGrid2 2 No description available

Description:
No description available.

 

WindrosePlot ::
SetLabelFormat($aLblFormat)

ArgumentDefaultDescription
$aLblFormat  No description available

Description:
No description available.

 

WindrosePlot ::
SetLabelMargin($aMarg)

ArgumentDefaultDescription
$aMarg  No description available

Description:
No description available.

 

WindrosePlot ::
SetLabelPosition($aPos)

ArgumentDefaultDescription
$aPos  No description available

Description:
No description available.

 

WindrosePlot ::
SetLabels($aLabels)

ArgumentDefaultDescription
$aLabels  No description available

Description:
No description available.

 

WindrosePlot ::
SetPos($aX, $aY)

ArgumentDefaultDescription
$aX  No description available
$aY  No description available

Description:
No description available.

 

WindrosePlot ::
SetRadialColors($aColors)

ArgumentDefaultDescription
$aColors  No description available

Description:
No description available.

 

WindrosePlot ::
SetRadialGridStyle($aStyle)

ArgumentDefaultDescription
$aStyle  No description available

Description:
No description available.

 

WindrosePlot ::
SetRadialStyles($aStyles)

ArgumentDefaultDescription
$aStyles  No description available

Description:
No description available.

 

WindrosePlot ::
SetRadialWeights($aWeights)

ArgumentDefaultDescription
$aWeights  No description available

Description:
No description available.

 

WindrosePlot ::
SetRangeColors($aLegColors)

ArgumentDefaultDescription
$aLegColors  No description available

Description:
No description available.

 

WindrosePlot ::
SetRanges($aRanges)

ArgumentDefaultDescription
$aRanges  No description available

Description:
No description available.

 

WindrosePlot ::
SetRangeStyle($aStyle)

ArgumentDefaultDescription
$aStyle  No description available

Description:
No description available.

 

WindrosePlot ::
SetRangeWeights($aWeights)

ArgumentDefaultDescription
$aWeights  No description available

Description:
No description available.

 

WindrosePlot ::
SetSize($aSize)

ArgumentDefaultDescription
$aSize  No description available

Description:
No description available.

 

WindrosePlot ::
SetType($aType)

ArgumentDefaultDescription
$aType  No description available

Description:
No description available.

 

WindrosePlot ::
SetZCircleSize($aSize)
// Alias for SetCenterSize

ArgumentDefaultDescription
$aSize  No description available

Description:
No description available.

 

WindrosePlot ::
Stroke($aGraph)
// Add an extra margin of 50% the font size//$maxh += round($this->iFontSize*$scaling * 0.5) ;

ArgumentDefaultDescription
$aGraph  No description available

Description:
No description available.

 

WindrosePlot ::
_StrokeFreeRose($dblImg, $value, $scaling, $xc, $yc, $r, $ri)

ArgumentDefaultDescription
$dblImg  No description available
$value  No description available
$scaling  No description available
$xc  No description available
$yc  No description available
$r  No description available
$ri  No description available

Description:
No description available.

 

WindrosePlot ::
_StrokeLegend($aImg, $x, $y, $scaling, $aReturnWidth)
// If less than 1 px long then we assume this has been caused by rounding problems// and should not be stroked

ArgumentDefaultDescription
$aImg  No description available
$x  No description available
$y  No description available
$scaling 1 No description available
$aReturnWidth false No description available

Description:
No description available.

 

WindrosePlot ::
_StrokeRegularRose($dblImg, $value, $scaling, $xc, $yc, $r, $ri)

ArgumentDefaultDescription
$dblImg  No description available
$value  No description available
$scaling  No description available
$xc  No description available
$yc  No description available
$r  No description available
$ri  No description available

Description:
No description available.

 

WindrosePlot ::
_StrokeWindLeg($aImg, $xc, $yc, $a, $ri, $r, $weight, $color)

ArgumentDefaultDescription
$aImg  No description available
$xc  No description available
$yc  No description available
$a  No description available
$ri  No description available
$r  No description available
$weight  No description available
$color  No description available

Description:
No description available.

 

WindrosePlot ::
_ThickCircle($aImg, $aXC, $aYC, $aRad, $aWeight, $aColor)

ArgumentDefaultDescription
$aImg  No description available
$aXC  No description available
$aYC  No description available
$aRad  No description available
$aWeight 2 No description available
$aColor  No description available

Description:
No description available.

 

WindrosePlot ::
__construct($aData)
//===================================================// CLASS WindrosePlot//===================================================

ArgumentDefaultDescription
$aData  No description available

Description:
No description available.