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