You are here

public function PHPExcel_Best_Fit::getIntersect in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php \PHPExcel_Best_Fit::getIntersect()

* Return the Value of X where it intersects Y = 0 * *

Parameters

int $dp Number of places of decimal precision to display: * @return string

10 calls to PHPExcel_Best_Fit::getIntersect()
PHPExcel_Linear_Best_Fit::getEquation in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/linearBestFitClass.php
* Return the Equation of the best-fit line * *
PHPExcel_Linear_Best_Fit::getValueOfXForY in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/linearBestFitClass.php
* Return the X-Value for a specified value of Y * *
PHPExcel_Linear_Best_Fit::getValueOfYForX in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/linearBestFitClass.php
* Return the Y-Value for a specified value of X * *
PHPExcel_Logarithmic_Best_Fit::getEquation in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/logarithmicBestFitClass.php
* Return the Equation of the best-fit line * *
PHPExcel_Logarithmic_Best_Fit::getValueOfXForY in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/logarithmicBestFitClass.php
* Return the X-Value for a specified value of Y * *

... See full list

2 methods override PHPExcel_Best_Fit::getIntersect()
PHPExcel_Exponential_Best_Fit::getIntersect in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/exponentialBestFitClass.php
* Return the Value of X where it intersects Y = 0 * *
PHPExcel_Power_Best_Fit::getIntersect in vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/powerBestFitClass.php
* Return the Value of X where it intersects Y = 0 * *

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php, line 203

Class

PHPExcel_Best_Fit
PHPExcel_Best_Fit

Code

public function getIntersect($dp = 0) {
  if ($dp != 0) {
    return round($this->_intersect, $dp);
  }
  return $this->_intersect;
}