PhpOffice\PhpPresentation\Shape\Chart::getLegend PHP Метод

getLegend() публичный Метод

Get Legend
public getLegend ( ) : PhpOffice\PhpPresentation\Shape\Chart\Legend
Результат PhpOffice\PhpPresentation\Shape\Chart\Legend
    public function getLegend()
    {
        return $this->legend;
    }

Usage Example

Пример #1
0
 public function testConstruct()
 {
     $object = new Chart();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Title', $object->getTitle());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Legend', $object->getLegend());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->getPlotArea());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\View3D', $object->getView3D());
 }
All Usage Examples Of PhpOffice\PhpPresentation\Shape\Chart::getLegend