public function PHPExcel_Best_Fit::getSlope in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Shared/trend/bestFitClass.php \PHPExcel_Best_Fit::getSlope()
* Return the Slope of the line * *
Parameters
int $dp Number of places of decimal precision to display: * @return string
9 calls to PHPExcel_Best_Fit::getSlope()
- 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 * *
2 methods override PHPExcel_Best_Fit::getSlope()
- PHPExcel_Exponential_Best_Fit::getSlope in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ exponentialBestFitClass.php - * Return the Slope of the line * *
- PHPExcel_Polynomial_Best_Fit::getSlope in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ polynomialBestFitClass.php - * Return the Slope of the line * *
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Shared/ trend/ bestFitClass.php, line 175
Class
- PHPExcel_Best_Fit
- PHPExcel_Best_Fit
Code
public function getSlope($dp = 0) {
if ($dp != 0) {
return round($this->_slope, $dp);
}
return $this->_slope;
}