You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I visualize the rendering online, when I change from Bar to Pie it works well but with Bar an empty page is displayed, at the beginning I have the result with Bar but at certain times it is no longer displayed, it drives me crazy.
$objPHPPresentation = new PhpPresentation();
$barChartHorz = new Bar(); // this work with Pie but not with Bar
$currentSlide = $objPHPPresentation->getActiveSlide();
// Create a shape (chart)
$shape = $currentSlide->createChartShape();
$shape->getPlotArea()->setType($barChartHorz);
$oWriterPPTX = IOFactory::createWriter($objPHPPresentation, 'PowerPoint2007');
$fileName = 'bars.pptx';
$file_path = public_path('ppt/' . $fileName);
$oWriterPPTX->save($file_path);
The text was updated successfully, but these errors were encountered:
I visualize the rendering online, when I change from Bar to Pie it works well but with Bar an empty page is displayed, at the beginning I have the result with Bar but at certain times it is no longer displayed, it drives me crazy.
The text was updated successfully, but these errors were encountered: