From e0751201b8ecdcc81289d790c48f725e984e9d1d Mon Sep 17 00:00:00 2001 From: Mark Baker Date: Sun, 26 Feb 2012 16:27:05 +0000 Subject: [PATCH] Radar fills git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87008 2327b42d-5241-43d6-9e2a-de5ac946f064 --- Classes/PHPExcel/Writer/Excel2007/Chart.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Classes/PHPExcel/Writer/Excel2007/Chart.php b/Classes/PHPExcel/Writer/Excel2007/Chart.php index 18c6c8b8..a4c6d170 100644 --- a/Classes/PHPExcel/Writer/Excel2007/Chart.php +++ b/Classes/PHPExcel/Writer/Excel2007/Chart.php @@ -216,13 +216,14 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa $groupType = $plotGroup->getPlotType(); if ($groupType == $chartType) { + $plotStyle = $plotGroup->getPlotStyle(); if ($groupType === PHPExcel_Chart_DataSeries::TYPE_RADARCHART) { $objWriter->startElement('c:radarStyle'); - $objWriter->writeAttribute('val', 'marker' ); + $objWriter->writeAttribute('val', $plotStyle ); $objWriter->endElement(); } elseif ($groupType === PHPExcel_Chart_DataSeries::TYPE_SCATTERCHART) { $objWriter->startElement('c:scatterStyle'); - $objWriter->writeAttribute('val', 'lineMarker' ); + $objWriter->writeAttribute('val', $plotStyle ); $objWriter->endElement(); }