The following code 'works' but the resulting chart crashes Powerpoint quite frequently.
The .pptx does open and the chart does appear, but the x-axis has a strange format and Powerpoint itself becomes very slow when this chart is present.
Is this a known issue? Is there a way to fix it?
See code below.
$currentSlide = createTemplatedSlide($objPHPPowerPoint); // local function
$seriesData = array(
67520 => 4.7461,
162240 => 11.4258,
326080 => 15.6445,
356160 => 25.1367,
406720 => 27.9492,
416960 => 29.3555,
477760 => 33.5742
$lineChart = new PHPPowerPoint_Shape_Chart_Type_Scatter();
$series = new PHPPowerPoint_Shape_Chart_Series('Series Name', $seriesData);
$shape = $currentSlide->createChartShape();
Relative to this commit : 3052064
Cleanup source code #3
Hi @tstrader, I just test your Scatter code in Sample 07.
And it has no problem for displaying it.
Have you got same problems with page4 on the Sample 07 ?
@tstrader Some news ?
Perfect. I close it.