public function PHPExcel_Logarithmic_Best_Fit::getValueOfXForY in Loft Data Grids 7.2
Same name and namespace in other branches
- 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/logarithmicBestFitClass.php \PHPExcel_Logarithmic_Best_Fit::getValueOfXForY()
* Return the X-Value for a specified value of Y * *
Parameters
float $yValue Y-Value: * @return float X-Value *
Overrides PHPExcel_Best_Fit::getValueOfXForY
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ logarithmicBestFitClass.php, line 67
Class
- PHPExcel_Logarithmic_Best_Fit
- PHPExcel_Logarithmic_Best_Fit
Code
public function getValueOfXForY($yValue) {
return exp(($yValue - $this
->getIntersect()) / $this
->getSlope());
}