Radar fills

git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87008 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
Mark Baker 2012-02-26 16:27:05 +00:00
parent b95a61b6d5
commit e0751201b8

View File

@ -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();
}