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

__construct() public method

Create a new Chart
public __construct ( )
    public function __construct()
    {
        // Initialize
        $this->title = new Title();
        $this->legend = new Legend();
        $this->plotArea = new PlotArea();
        $this->view3D = new View3D();
        // Initialize parent
        parent::__construct();
    }