getOffsetX() public method

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