@@ 635-641 (lines=7) @@ | ||
632 | ||
633 | // Fill in any missing values in the $dataValues array |
|
634 | $testCurrentIndex = 0; |
|
635 | foreach ($dataValues as $k => $dataValue) { |
|
636 | while ($k != $testCurrentIndex) { |
|
637 | $dataValues[$testCurrentIndex] = null; |
|
638 | ++$testCurrentIndex; |
|
639 | } |
|
640 | ++$testCurrentIndex; |
|
641 | } |
|
642 | ||
643 | if ($dimensions == '3d') { |
|
644 | $seriesPlot = new \PiePlot3D($dataValues); |
|
@@ 302-308 (lines=7) @@ | ||
299 | ||
300 | // Fill in any missing values in the $dataValues array |
|
301 | $testCurrentIndex = 0; |
|
302 | foreach ($dataValues as $k => $dataValue) { |
|
303 | while ($k != $testCurrentIndex) { |
|
304 | $dataValues[$testCurrentIndex] = null; |
|
305 | ++$testCurrentIndex; |
|
306 | } |
|
307 | ++$testCurrentIndex; |
|
308 | } |
|
309 | ||
310 | $seriesPlot = new \LinePlot($dataValues); |
|
311 | if ($combination) { |
|
@@ 375-381 (lines=7) @@ | ||
372 | ||
373 | // Fill in any missing values in the $dataValues array |
|
374 | $testCurrentIndex = 0; |
|
375 | foreach ($dataValues as $k => $dataValue) { |
|
376 | while ($k != $testCurrentIndex) { |
|
377 | $dataValues[$testCurrentIndex] = null; |
|
378 | ++$testCurrentIndex; |
|
379 | } |
|
380 | ++$testCurrentIndex; |
|
381 | } |
|
382 | ||
383 | // Reverse the $dataValues order for bar rather than column chart |
|
384 | if ($rotation == 'bar') { |