/** * Create a new PHPPowerPoint_Shape_Chart_Title instance */ public function __construct() { $this->_alignment = new PHPPowerPoint_Style_Alignment(); $this->_font = new PHPPowerPoint_Style_Font(); $this->_font->setName('Calibri'); $this->_font->setSize(18); }
/** * Create a new PHPPowerPoint_Shape_Chart_Series instance * * @param string $title Title * @param array $values Values */ public function __construct($title = 'Series Title', $values = array()) { $this->_fill = new PHPPowerPoint_Style_Fill(); $this->_font = new PHPPowerPoint_Style_Font(); $this->_font->setName('Calibri'); $this->_font->setSize(9); $this->_title = $title; $this->_values = $values; }