PhpOffice\PhpPresentation\Shape\Chart\Series::__construct PHP Method

__construct() public method

Create a new \PhpOffice\PhpPresentation\Shape\Chart\Series instance
public __construct ( string $title = 'Series Title', array $values = [] )
$title string Title
$values array Values
    public function __construct($title = 'Series Title', $values = array())
    {
        $this->fill = new Fill();
        $this->font = new Font();
        $this->font->setName('Calibri');
        $this->font->setSize(9);
        $this->title = $title;
        $this->values = $values;
        $this->marker = new Marker();
    }