getHeight() public method

Get Height (as a fraction of the chart)
public getHeight ( ) : float
return float
Example #1
0
 public function testHeight()
 {
     $object = new PlotArea();
     $value = rand(0, 100);
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setHeight());
     $this->assertEquals(0, $object->getHeight());
     $this->assertInstanceOf('PhpOffice\\PhpPresentation\\Shape\\Chart\\PlotArea', $object->setHeight($value));
     $this->assertEquals($value, $object->getHeight());
 }