From c1ed3e22915d91bfa613058e42a8f70fdd0a6e59 Mon Sep 17 00:00:00 2001 From: Martynas Mickevicius Date: Tue, 6 Jul 2010 21:23:03 +0300 Subject: [PATCH] debug on the demo server --- libraries/chart/pChart/pChart.class | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/libraries/chart/pChart/pChart.class b/libraries/chart/pChart/pChart.class index c407b7e2c..d2b43311c 100644 --- a/libraries/chart/pChart/pChart.class +++ b/libraries/chart/pChart/pChart.class @@ -198,12 +198,15 @@ { $this->XSize = $XSize; $this->YSize = $YSize; + echo "before imagecreatetruecolor\n"; $this->Picture = imagecreatetruecolor($XSize,$YSize); - + echo "before this->AllocateColor\n"; $C_White =$this->AllocateColor($this->Picture,255,255,255); + echo "before imagefilledrectangle\n"; imagefilledrectangle($this->Picture,0,0,$XSize,$YSize,$C_White); + echo "before imagecolortransparent"; imagecolortransparent($this->Picture,$C_White); - + echo "after imagecolortransparent"; $this->setFontProperties("tahoma.ttf",8); }