You are here

public function PHPExcel_Chart_Axis::setLineStyleProperties in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php \PHPExcel_Chart_Axis::setLineStyleProperties()

Set Line Style 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/Axis.php, line 297

Class

PHPExcel_Chart_Axis
Created by PhpStorm. User: Wiktor Trzonkowski Date: 6/17/14 Time: 12:11 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) {
  !is_null($line_width) ? $this->_line_style_properties['width'] = $this
    ->getExcelPointsWidth((double) $line_width) : NULL;
  !is_null($compound_type) ? $this->_line_style_properties['compound'] = (string) $compound_type : NULL;
  !is_null($dash_type) ? $this->_line_style_properties['dash'] = (string) $dash_type : NULL;
  !is_null($cap_type) ? $this->_line_style_properties['cap'] = (string) $cap_type : NULL;
  !is_null($join_type) ? $this->_line_style_properties['join'] = (string) $join_type : NULL;
  !is_null($head_arrow_type) ? $this->_line_style_properties['arrow']['head']['type'] = (string) $head_arrow_type : NULL;
  !is_null($head_arrow_size) ? $this->_line_style_properties['arrow']['head']['size'] = (string) $head_arrow_size : NULL;
  !is_null($end_arrow_type) ? $this->_line_style_properties['arrow']['end']['type'] = (string) $end_arrow_type : NULL;
  !is_null($end_arrow_size) ? $this->_line_style_properties['arrow']['end']['size'] = (string) $end_arrow_size : NULL;
}