private static function PHPExcel_Reader_Excel2007_Chart::_setChartAttributes in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Reader/Excel2007/Chart.php \PHPExcel_Reader_Excel2007_Chart::_setChartAttributes()
1 call to PHPExcel_Reader_Excel2007_Chart::_setChartAttributes()
- PHPExcel_Reader_Excel2007_Chart::readChart in vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007/ Chart.php
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Reader/ Excel2007/ Chart.php, line 488
Class
- PHPExcel_Reader_Excel2007_Chart
- PHPExcel_Reader_Excel2007_Chart
Code
private static function _setChartAttributes($plotArea, $plotAttributes) {
foreach ($plotAttributes as $plotAttributeKey => $plotAttributeValue) {
switch ($plotAttributeKey) {
case 'showLegendKey':
$plotArea
->setShowLegendKey($plotAttributeValue);
break;
case 'showVal':
$plotArea
->setShowVal($plotAttributeValue);
break;
case 'showCatName':
$plotArea
->setShowCatName($plotAttributeValue);
break;
case 'showSerName':
$plotArea
->setShowSerName($plotAttributeValue);
break;
case 'showPercent':
$plotArea
->setShowPercent($plotAttributeValue);
break;
case 'showBubbleSize':
$plotArea
->setShowBubbleSize($plotAttributeValue);
break;
case 'showLeaderLines':
$plotArea
->setShowLeaderLines($plotAttributeValue);
break;
}
}
}