/** * 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); }
/** * 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); }
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; }
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; }
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; }
/** * 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); }
function __construct($img, $aScale) { parent::__construct($img, $aScale); }
/** * 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); }
public function __construct($length, $max_val, $min_val, $step) { parent::__construct($length, $max_val, $min_val, 1); $this->step = $step; }
/** * 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); }
function __construct() { parent::__construct(); }