コード例 #1
0
ファイル: Plot.php プロジェクト: casati-dolibarr/corebos
 /**
  * Get the Y pixel position represented by a value
  *
  * @param double $point the value to get the pixel-point for
  *
  * @return double The pixel position along the axis
  * @access private
  */
 function _pointY($point)
 {
     $point['AXIS_Y'] = $this->_axisY;
     return parent::_pointY($point);
 }
コード例 #2
0
ファイル: Grid.php プロジェクト: Magomogo/Image_Graph
 /**
  * Get the Y pixel position represented by a value
  *
  * @param double $point the value to get the pixel-point for
  *
  * @return double The pixel position along the axis
  * @access private
  */
 function _pointY($point)
 {
     if ($this->_primaryAxis->_type == IMAGE_GRAPH_AXIS_Y || $this->_primaryAxis->_type == IMAGE_GRAPH_AXIS_Y_SECONDARY) {
         $point['AXIS_Y'] = $this->_primaryAxis->_type;
     } else {
         $point['AXIS_Y'] = $this->_secondaryAxis->_type;
     }
     return parent::_pointY($point);
 }