Skip to content

Can't hide marker on line chart for pptx (0.7.0) #211

@Napryc

Description

@Napryc

Hi,

I'm trying to hide the marker from a line chart, however, setting:
$lineMarker->setSymbol(\PhpOffice\PhpPresentation\Shape\Chart\Marker::SYMBOL_NONE);
seems not enough.

I've solved this issue by adding the following else clause in the writeSeriesMarker function of PptCharts.php file:

else {
    $objWriter->startElement('c:marker');
    $objWriter->startElement('c:symbol');
    $objWriter->writeAttribute('val', $oMarker->getSymbol());
    $objWriter->endElement();
    $objWriter->endElement();
}        

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions