@@ -26,6 +26,8 @@ use PhpOffice\PhpPresentation\IOFactory;
use PhpOffice\PhpPresentation\Shape\RichText\Run;
use PhpOffice\PhpPresentation\Style\Alignment;
+$charts = array_values($charts);
+
$presentation = new PhpPresentation(); // 960x720
// Draw title slide