當前位置: 首頁>>代碼示例>>PHP>>正文


PHP Axis::__construct方法代碼示例

本文整理匯總了PHP中Axis::__construct方法的典型用法代碼示例。如果您正苦於以下問題:PHP Axis::__construct方法的具體用法?PHP Axis::__construct怎麽用?PHP Axis::__construct使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在Axis的用法示例。


在下文中一共展示了Axis::__construct方法的11個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。

示例1: __construct

 /**
  * Constructor calls Axis constructor with 1/5 length
  */
 public function __construct($length, $max_val, $min_val, $min_unit, $fit, $units_before, $units_after, $decimal_digits, $label_callback)
 {
     if ($min_val < 0) {
         throw new Exception('Negative value for double-ended axis');
     }
     parent::__construct($length / 2, $max_val, $min_val, $min_unit, $fit, $units_before, $units_after, $decimal_digits, $label_callback);
 }
開發者ID:schnitzelx,項目名稱:SchoolSurvey,代碼行數:10,代碼來源:SVGGraphAxisDoubleEnded.php

示例2: __construct

 /**
  * Constructor calls Axis constructor with 1/5 length
  */
 public function __construct($length, $max_val, $min_val, $min_unit, $fit, $units_before, $units_after)
 {
     if ($min_val < 0) {
         throw new Exception('Negative value for double-ended axis');
     }
     parent::__construct($length / 2, $max_val, $min_val, $min_unit, $fit, $units_before, $units_after);
 }
開發者ID:roarkmccolgan,項目名稱:dellconvergedmaturity,代碼行數:10,代碼來源:SVGGraphAxisDoubleEnded.php

示例3: __construct

 public function __construct($length, $max_val, $min_val, $step, $units_before, $units_after)
 {
     parent::__construct($length, $max_val, $min_val, 1, false, $units_before, $units_after);
     $this->orig_max_value = $max_val;
     $this->orig_min_value = $min_val;
     $this->step = $step;
 }
開發者ID:roarkmccolgan,項目名稱:dellconvergedmaturity,代碼行數:7,代碼來源:SVGGraphAxisFixed.php

示例4: __construct

 public function __construct($length, $max_val, $min_val, $step, $units_before, $units_after, $decimal_digits, $label_callback)
 {
     parent::__construct($length, $max_val, $min_val, 1, false, $units_before, $units_after, $decimal_digits, $label_callback);
     $this->orig_max_value = $max_val;
     $this->orig_min_value = $min_val;
     $this->step = $step;
 }
開發者ID:schnitzelx,項目名稱:SchoolSurvey,代碼行數:7,代碼來源:SVGGraphAxisFixed.php

示例5: __construct

 public function __construct($length, $max_val, $min_val, $step, $units_before, $units_after, $decimal_digits, $label_callback, $values)
 {
     // min_unit = 1, min_space = 1, fit = false
     parent::__construct($length, $max_val, $min_val, 1, 1, false, $units_before, $units_after, $decimal_digits, $label_callback, $values);
     $this->orig_max_value = $max_val;
     $this->orig_min_value = $min_val;
     $this->step = $step;
 }
開發者ID:goat1000,項目名稱:svggraph,代碼行數:8,代碼來源:SVGGraphAxisFixed.php

示例6: __construct

 /**
  * Stores all the information about the vertical axis. All options can be
  * set either by passing an array with associative values for option =>
  * value, or by chaining together the functions once an object has been
  * created.
  *
  * @param  array        $config Configuration options for the VerticalAxis
  * @return VerticalAxis
  */
 public function __construct($config = array())
 {
     parent::__construct($this, $config);
 }
開發者ID:alvarobfdev,項目名稱:applog,代碼行數:13,代碼來源:VerticalAxis.php

示例7:

 function __construct($img, $aScale)
 {
     parent::__construct($img, $aScale);
 }
開發者ID:JulianaSchuster,項目名稱:oxid-frontend,代碼行數:4,代碼來源:jpgraph_polar.php

示例8: __construct

 /**
  * Stores all the information about the vertical axis. All options can be
  * set either by passing an array with associative values for option =>
  * value, or by chaining together the functions once an object has been
  * created.
  *
  * @param array Configuration options for the vAxis
  * @return \axis
  */
 public function __construct($config = array())
 {
     return parent::__construct($config);
 }
開發者ID:hilmysyarif,項目名稱:l4-bootstrap-admin,代碼行數:13,代碼來源:vAxis.php

示例9: __construct

 public function __construct($length, $max_val, $min_val, $step)
 {
     parent::__construct($length, $max_val, $min_val, 1);
     $this->step = $step;
 }
開發者ID:gotcms,項目名稱:gotcms,代碼行數:5,代碼來源:SVGGraphAxisFixed.php

示例10: __construct

 /**
  * Stores all the information about the horizontal axis. All options can be
  * set either by passing an array with associative values for option =>
  * value, or by chaining together the functions once an object has been
  * created.
  *
  * @param array $options
  * @return \hAxis
  */
 public function __construct($config = array())
 {
     $this->options = array_merge($this->options, array('allowContainerBoundaryTextCutoff', 'slantedText', 'slantedTextAngle', 'maxAlternation', 'maxTextLines', 'minTextSpacing', 'showTextEvery'));
     parent::__construct($config);
 }
開發者ID:melanialani,項目名稱:admin,代碼行數:14,代碼來源:hAxis.php

示例11:

 function __construct()
 {
     parent::__construct();
 }
開發者ID:bantudevelopment,項目名稱:polysmis,代碼行數:4,代碼來源:ChartAbstract.php


注:本文中的Axis::__construct方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。