PHPPresentation
PHPPresentation copied to clipboard
Set mark position for Line Chart (with solution)
Method setLabelPosition(..) has no effect for lineChart (for PowerPoint output file). So you can`t to change label position from default label position.
Solution:
at the file src/PhpPresentationWriter/PowerPoint2007/PptCharts.php
at the method protected function writeTypeLine(...)
after line
$objWriter->startElement('c:dLbls');
add line
$this->writeElementWithValAttribute($objWriter, 'c:dLblPos', $series->getLabelPosition());