Blame view

src/Request/ParamsRequestImpl/Nodes/Requests/RequestOutputPlotElementTimeNodeClass.php 1.04 KB
22521f1c   Benjamin Renard   First commit
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

require_once("RequestOutputPlotElementNodeClass.php");

define ("REQUESTOUTPUTPLOTELEMENTTIME_NAME", "timePlot");

/**
 * @class RequestOutputPlotElementTimeNodeClass
 * @brief Definition of a time plot element for a panel of a plot request
 * @details
*/
class RequestOutputPlotElementTimeNodeClass extends RequestOutputPlotElementNodeClass
{
	public function __construct()
	{
17f69bd1   Benjamin Renard   Add tick plot and...
16
		parent::__construct(REQUESTOUTPUTPLOTELEMENTTIME_NAME,true,true,true,false,false,false);
22521f1c   Benjamin Renard   First commit
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
		//force time axis creation
		$this->getAxes()->getTimeAxis();
		//force color axis creation
		$this->getAxes()->getColorAxis();
	}

	public function getTimeAxis()
	{
		return $this->getAxes()->getTimeAxis();
	}

	public function addYAxis($id)
	{
		return $this->getAxes()->addDigitalAxis(RequestOutputPlotAxisTypeEnum::YAXIS,$id);
	}

	public function getYAxis($id)
	{
		return $this->getAxes()->getDigitalAxis(RequestOutputPlotAxisTypeEnum::YAXIS,$id);
	}

	public function getZAxis()
	{
		return $this->getAxes()->getColorAxis();
	}
}

?>