mirror of
https://github.com/retailcrm/PHPExcel.git
synced 2024-11-26 23:36:03 +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,7 +673,9 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
|
||||
$objWriter->endElement();
|
||||
}
|
||||
|
||||
$plotSeriesMarker = $plotGroup->getPlotValuesByIndex($plotSeriesRef)->getPointMarker();
|
||||
$plotSeriesValues = $plotGroup->getPlotValuesByIndex($plotSeriesRef);
|
||||
if ($plotSeriesValues) {
|
||||
$plotSeriesMarker = $plotSeriesValues->getPointMarker();
|
||||
if ($plotSeriesMarker) {
|
||||
$objWriter->startElement('c:marker');
|
||||
$objWriter->startElement('c:symbol');
|
||||
@ -681,6 +683,7 @@ class PHPExcel_Writer_Excel2007_Chart extends PHPExcel_Writer_Excel2007_WriterPa
|
||||
$objWriter->endElement();
|
||||
$objWriter->endElement();
|
||||
}
|
||||
}
|
||||
|
||||
if (($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART) ||
|
||||
($groupType === PHPExcel_Chart_DataSeries::TYPE_BARCHART_3D) ||
|
||||
@ -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