| Total Complexity | 7 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 9 | class PolarLogScale extends LogScale |
||
| 10 | { |
||
| 11 | private $graph; |
||
| 12 | public $clockwise = false; |
||
| 13 | |||
| 14 | public function __construct($aMax, $graph, $aClockwise = false) |
||
| 15 | { |
||
| 16 | parent::__construct(0, $aMax, 'x'); |
||
| 17 | $this->graph = $graph; |
||
| 18 | if ($this->ticks instanceof LogTicks) { |
||
|
|
|||
| 19 | $this->ticks->SetLabelLogType(LOGLABELS_MAGNITUDE); |
||
| 20 | } |
||
| 21 | $this->clockwise = $aClockwise; |
||
| 22 | } |
||
| 23 | |||
| 24 | public function SetClockwise($aFlg) |
||
| 25 | { |
||
| 26 | $this->clockwise = $aFlg; |
||
| 27 | } |
||
| 28 | |||
| 29 | public function PTranslate($aAngle, $aRad) |
||
| 56 | } |
||
| 57 | } |
||
| 58 |