You are here

private function PHPExcel_Chart_Axis::_setShadowDistance in Loft Data Grids 6.2

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

Set Shadow Distance

Parameters

float $distance:

Return value

PHPExcel_Chart_Axis

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php, line 480

Class

PHPExcel_Chart_Axis
Created by PhpStorm. User: Wiktor Trzonkowski Date: 6/17/14 Time: 12:11 PM

Code

private function _setShadowDistance($distance) {
  if ($distance !== NULL) {
    $this->_shadow_properties['distance'] = (string) $this
      ->getExcelPointsWidth($distance);
  }
  return $this;
}