From dac211304b52a59509154337aba3edbcd0ba786f Mon Sep 17 00:00:00 2001 From: Derek Kinney Date: Mon, 12 Jun 2017 12:14:00 -0400 Subject: [PATCH] Ensure that $Alpha is an int --- src/Chart/Draw.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Chart/Draw.php b/src/Chart/Draw.php index e14e61f..29c4a0d 100644 --- a/src/Chart/Draw.php +++ b/src/Chart/Draw.php @@ -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;