mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-23 05:46:06 +03:00
Scatter chart basics, prevent problems with other chart types
git-svn-id: https://phpexcel.svn.codeplex.com/svn/trunk@87002 2327b42d-5241-43d6-9e2a-de5ac946f064
This commit is contained in:
parent
ed6d71cb92
commit
b95a61b6d5
@ -673,13 +673,16 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
|
||||
$objWriter->endElement();
|
||||
}
|
||||
|
||||
$plotSeriesMarker = $plotGroup->getPlotValuesByIndex($plotSeriesRef)->getPointMarker();
|
||||
if ($plotSeriesMarker) {
|
||||
$objWriter->startElement('c:marker');
|
||||
$objWriter->startElement('c:symbol');
|
||||
$objWriter->writeAttribute('val', $plotSeriesMarker);
|
||||
$plotSeriesValues = $plotGroup->getPlotValuesByIndex($plotSeriesRef);
|
||||
if ($plotSeriesValues) {
|
||||
$plotSeriesMarker = $plotSeriesValues->getPointMarker();
|
||||
if ($plotSeriesMarker) {
|
||||
$objWriter->startElement('c:marker');
|
||||
$objWriter->startElement('c:symbol');
|
||||
$objWriter->writeAttribute('val', $plotSeriesMarker);
|
||||
$objWriter->endElement();
|
||||
$objWriter->endElement();
|
||||
$objWriter->endElement();
|
||||
}
|
||||
}
|
||||
|
||||
if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) ||
|
||||
@ -722,7 +725,6 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
|
||||
}
|
||||
|
||||
// Values
|
||||
$plotSeriesValues = $plotGroup->getPlotValuesByIndex($plotSeriesRef);
|
||||
if ($plotSeriesValues) {
|
||||
$valIsMultiLevelSeries = $valIsMultiLevelSeries || $plotSeriesValues->isMultiLevelSeries();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user