コード例 #1
0
ファイル: Logarithmic.php プロジェクト: Magomogo/Image_Graph
 /**
  * Image_Graph_AxisLogarithmic [Constructor].
  *
  * Normally a manual creation should not be necessary, axis are
  * created automatically by the {@link Image_Graph_Plotarea} constructor
  * unless explicitly defined otherwise
  *
  * @param int $type The type (direction) of the Axis, use IMAGE_GRAPH_AXIS_X
  *   for an X-axis (default, may be omitted) and IMAGE_GRAPH_AXIS_Y for Y-
  *   axis)
  */
 function Image_Graph_Axis_Logarithmic($type = IMAGE_GRAPH_AXIS_X)
 {
     parent::__construct($type);
     $this->showLabel(IMAGE_GRAPH_LABEL_MINIMUM + IMAGE_GRAPH_LABEL_MAXIMUM);
     $this->_minimum = 1;
     $this->_minimumSet = true;
 }
コード例 #2
0
 /**
  * Image_Graph_AxisLogarithmic [Constructor].
  *
  * Normally a manual creation should not be necessary, axis are
  * created automatically by the {@link Image_Graph_Plotarea} constructor
  * unless explicitly defined otherwise
  *
  * @param int $type The type (direction) of the Axis, use IMAGE_GRAPH_AXIS_X
  *   for an X-axis (default, may be omitted) and IMAGE_GRAPH_AXIS_Y for Y-
  *   axis)
  */
 function __construct($type = IMAGE_GRAPH_AXIS_X)
 {
     parent::__construct($type);
     $this->showLabel(IMAGE_GRAPH_LABEL_MINIMUM + IMAGE_GRAPH_LABEL_MAXIMUM);
     $this->_minimum = 1;
     $this->_minimumSet = true;
 }
コード例 #3
0
ファイル: Category.php プロジェクト: casati-dolibarr/corebos
 /**
  * Image_Graph_Axis_Category [Constructor].
  *
  * @param int $type The type (direction) of the Axis
  */
 function Image_Graph_Axis_Category($type = IMAGE_GRAPH_AXIS_X)
 {
     parent::__construct($type);
     $this->_labels = array();
     $this->setlabelInterval(1);
 }
コード例 #4
0
 /**
  * Image_Graph_Axis_Category [Constructor].
  *
  * @param int $type The type (direction) of the Axis
  */
 function __construct($type = IMAGE_GRAPH_AXIS_X)
 {
     parent::__construct($type);
     $this->_labels = array();
     $this->setlabelInterval(1);
 }