示例#1
0
 public function __construct($data, $options = null)
 {
     // limit data size, no more than 18 pie slices
     $data = array_slice($data, 0, 18, true);
     parent::__construct($data, $options);
     $this->setAreaMargins(array(20, 10, 20, 20));
 }
 public function __construct($data, $options = null)
 {
     parent::__construct($data, $options);
     $this->settings['scale'] = SCALE_NORMAL;
 }
 public function __construct($data, $options = null)
 {
     parent::__construct($data, $options);
 }
 public function __construct($data, $options = null)
 {
     parent::__construct($data, $options);
     $this->normalizeValues();
 }