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.

Argument | Default | Description
--- | --- | ---
$aDataArray |  | No description available
$num |  | No description available

Description:
No description available.

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

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

Description:
No description available.

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

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

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

Description:
No description available.

WindrosePlot ::
SetAntiAlias($aFlag)

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

Description:
No description available.

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

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

Description:
No description available.

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

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

Argument | Default | Description
--- | --- | ---
$aX |  | No description available
$aY |  | No description available

Description:
No description available.

WindrosePlot ::
SetCenterSize($aSize)

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

Description:
No description available.

WindrosePlot ::
SetColor($aColor)

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

Description:
No description available.

WindrosePlot ::
SetCompassLabels($aLabels)

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

Description:
No description available.

WindrosePlot ::
SetDataKeyEncoding($aEncoding)

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

Description:
No description available.

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

Argument | Default | Description
--- | --- | ---
$aFFam |  | No description available
$aFStyle | FS_NORMAL | No description available
$aFSize | 10 | No description available

Description:
No description available.

WindrosePlot ::
SetFontColor($aColor)

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

Description:
No description available.

WindrosePlot ::
SetGridColor($aColor1, $aColor2)

Argument | Default | Description
--- | --- | ---
$aColor1 |  | No description available
$aColor2 |  | No description available

Description:
No description available.

WindrosePlot ::
SetGridWeight($aGrid1, $aGrid2)

Argument | Default | Description
--- | --- | ---
$aGrid1 | 1 | No description available
$aGrid2 | 2 | No description available

Description:
No description available.

WindrosePlot ::
SetLabelFormat($aLblFormat)

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

Description:
No description available.

WindrosePlot ::
SetLabelMargin($aMarg)

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

Description:
No description available.

WindrosePlot ::
SetLabelPosition($aPos)

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

Description:
No description available.

WindrosePlot ::
SetLabels($aLabels)

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

Description:
No description available.

WindrosePlot ::
SetPos($aX, $aY)

Argument | Default | Description
--- | --- | ---
$aX |  | No description available
$aY |  | No description available

Description:
No description available.

WindrosePlot ::
SetRadialColors($aColors)

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

Description:
No description available.

WindrosePlot ::
SetRadialGridStyle($aStyle)

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

Description:
No description available.

WindrosePlot ::
SetRadialStyles($aStyles)

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

Description:
No description available.

WindrosePlot ::
SetRadialWeights($aWeights)

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

Description:
No description available.

WindrosePlot ::
SetRangeColors($aLegColors)

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

Description:
No description available.

WindrosePlot ::
SetRanges($aRanges)

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

Description:
No description available.

WindrosePlot ::
SetRangeStyle($aStyle)

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

Description:
No description available.

WindrosePlot ::
SetRangeWeights($aWeights)

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

Description:
No description available.

WindrosePlot ::
SetSize($aSize)

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

Description:
No description available.

WindrosePlot ::
SetType($aType)

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

Description:
No description available.

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

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

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

Description:
No description available.

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

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

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

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

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

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

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

Description:
No description available.