You are here

protected function PHPExcel_Properties::getLineStyleArrowSize in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Properties.php \PHPExcel_Properties::getLineStyleArrowSize()
3 calls to PHPExcel_Properties::getLineStyleArrowSize()
PHPExcel_Chart_Axis::getLineStyleArrowLength in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php
Get Line Style Arrow Excel Length
PHPExcel_Chart_Axis::getLineStyleArrowWidth in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php
Get Line Style Arrow Excel Width
PHPExcel_Chart_GridLines::getLineStyleArrowParameters in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/GridLines.php
Get Line Style Arrow Parameters

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Properties.php, line 136

Class

PHPExcel_Properties
Created by PhpStorm. User: nhw2h8s Date: 7/2/14 Time: 5:45 PM

Code

protected function getLineStyleArrowSize($array_selector, $array_kay_selector) {
  $sizes = array(
    1 => array(
      'w' => 'sm',
      'len' => 'sm',
    ),
    2 => array(
      'w' => 'sm',
      'len' => 'med',
    ),
    3 => array(
      'w' => 'sm',
      'len' => 'lg',
    ),
    4 => array(
      'w' => 'med',
      'len' => 'sm',
    ),
    5 => array(
      'w' => 'med',
      'len' => 'med',
    ),
    6 => array(
      'w' => 'med',
      'len' => 'lg',
    ),
    7 => array(
      'w' => 'lg',
      'len' => 'sm',
    ),
    8 => array(
      'w' => 'lg',
      'len' => 'med',
    ),
    9 => array(
      'w' => 'lg',
      'len' => 'lg',
    ),
  );
  return $sizes[$array_selector][$array_kay_selector];
}