Skip to content

Commit

Permalink
Merge pull request #39 from dehrk/master
Browse files Browse the repository at this point in the history
Ensure that $Alpha is an int
  • Loading branch information
szymach authored Jun 12, 2017
2 parents ca5c3d9 + dac2113 commit d4e9aaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Chart/Draw.php
Original file line number Diff line number Diff line change
Expand Up @@ -5048,7 +5048,7 @@ public function drawPlotChart(array $Format = [])
$R = $Serie["Color"]["R"];
$G = $Serie["Color"]["G"];
$B = $Serie["Color"]["B"];
$Alpha = $Serie["Color"]["Alpha"];
$Alpha = (int) $Serie["Color"]["Alpha"];
$Ticks = $Serie["Ticks"];
if ($Surrounding != null) {
$BorderR = $R + $Surrounding;
Expand Down

0 comments on commit d4e9aaf

Please sign in to comment.