Property | Type | Description | |
---|---|---|---|
$graph | Show X-axis color |
Method | Description | |
---|---|---|
__construct ( |
Constructor |
Method | Description | |
---|---|---|
drawDataText ( array $dataPoints, array $xAxis, array $yAxis, string $type, array $points = null, integer $skip = 1 ) : void | Draw the data point text on the graph | |
drawXAxis ( array $xAxis, ArrayObject $points, integer $offset ) : void | Draw the X Axis | |
drawYAxis ( array $yAxis, ArrayObject $points, integer $offset ) : void | Draw the Y Axis | |
getPoints ( array $xAxis, array $yAxis ) : ArrayObject | Get points | |
getQuadrant ( array $point, array $center ) : integer | Method to calculate which quadrant a point is in. | |
getTriangle ( array $point, array $center, integer $quad ) : array | Method to calculate the points and data of a triangle. | |
showXAxis ( array $xAxis, ArrayObject $points, integer $offset ) : void | Draw the X Axis increments | |
showYAxis ( array $yAxis, ArrayObject $points, integer $offset ) : void | Draw the Y Axis increments |
public __construct ( |
||
$graph | ||
return |