当前位置: 首页>>代码示例>>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;未经允许,请勿转载。