setShowLeaderLines() public method

Set ShowLeaderLines
public setShowLeaderLines ( boolean $value ) : Series
$value boolean
return Series
Ejemplo n.º 1
0
 public function testShowLeaderLines()
 {
     $object = new Series();
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowLeaderLines(true));
     $this->assertTrue($object->hasShowLeaderLines());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\Series', $object->setShowLeaderLines(false));
     $this->assertFalse($object->hasShowLeaderLines());
 }