public function PHPExcel_Chart_GridLines::setLineStyleProperties in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/GridLines.php \PHPExcel_Chart_GridLines::setLineStyleProperties()
Set Line Color Properties
Parameters
float $line_width:
string $compound_type:
string $dash_type:
string $cap_type:
string $join_type:
string $head_arrow_type:
string $head_arrow_size:
string $end_arrow_type:
string $end_arrow_size:
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Chart/ GridLines.php, line 133
Class
- PHPExcel_Chart_GridLines
- Created by PhpStorm. User: Wiktor Trzonkowski Date: 7/2/14 Time: 2:36 PM
Code
public function setLineStyleProperties($line_width = NULL, $compound_type = NULL, $dash_type = NULL, $cap_type = NULL, $join_type = NULL, $head_arrow_type = NULL, $head_arrow_size = NULL, $end_arrow_type = NULL, $end_arrow_size = NULL) {
$this
->_activateObject();
!is_null($line_width) ? $this->_line_properties['style']['width'] = $this
->getExcelPointsWidth((double) $line_width) : NULL;
!is_null($compound_type) ? $this->_line_properties['style']['compound'] = (string) $compound_type : NULL;
!is_null($dash_type) ? $this->_line_properties['style']['dash'] = (string) $dash_type : NULL;
!is_null($cap_type) ? $this->_line_properties['style']['cap'] = (string) $cap_type : NULL;
!is_null($join_type) ? $this->_line_properties['style']['join'] = (string) $join_type : NULL;
!is_null($head_arrow_type) ? $this->_line_properties['style']['arrow']['head']['type'] = (string) $head_arrow_type : NULL;
!is_null($head_arrow_size) ? $this->_line_properties['style']['arrow']['head']['size'] = (string) $head_arrow_size : NULL;
!is_null($end_arrow_type) ? $this->_line_properties['style']['arrow']['end']['type'] = (string) $end_arrow_type : NULL;
!is_null($end_arrow_size) ? $this->_line_properties['style']['arrow']['end']['size'] = (string) $end_arrow_size : NULL;
}