Skip to content

Commit

Permalink
Merge pull request #38 from dehrk/master
Browse files Browse the repository at this point in the history
drawStackedBarChart(): PHP 7.1 error
  • Loading branch information
szymach authored Jun 3, 2017
2 parents 01fa5ef + aeadcf4 commit ca5c3d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Chart/Draw.php
Original file line number Diff line number Diff line change
Expand Up @@ -8051,8 +8051,8 @@ public function drawStackedBarChart(array $Format = [])

$RestoreShadow = $this->Shadow;

$LastX = "";
$LastY = "";
$LastX = [];
$LastY = [];
foreach ($Data["Series"] as $SerieName => $Serie) {
if ($Serie["isDrawable"] == true && $SerieName != $Data["Abscissa"]) {
$R = $Serie["Color"]["R"];
Expand Down

0 comments on commit ca5c3d9

Please sign in to comment.