You are here

public function PHPExcel_Chart::setTopLeftOffset in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart.php \PHPExcel_Chart::setTopLeftOffset()

* Set the offset position within the Top Left cell for the chart * *

Parameters

integer $xOffset: * @param integer $yOffset * @return PHPExcel_Chart

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart.php, line 472

Class

PHPExcel_Chart
PHPExcel_Chart

Code

public function setTopLeftOffset($xOffset = null, $yOffset = null) {
  if (!is_null($xOffset)) {
    $this
      ->setTopLeftXOffset($xOffset);
  }
  if (!is_null($yOffset)) {
    $this
      ->setTopLeftYOffset($yOffset);
  }
  return $this;
}