title: Issues with pChart outputting image. Whats wrong?
body: <p>I'm having an issue displaying the 3DPie example pChart in my php page, no matter what the output (Stroke(),autoOutput(),render()) it doesn't render to the browser, but the examples work in the examples folder.</p>
  
  <p>My question is: why won't it render to browser? How do I fix it? (its not the includes, they worked for the basic syntax tutorial)</p>
  
  <pre><code>include("code libraries/pChart2.1.3/class/pDraw.class.php");
  include("code libraries/pChart2.1.3/class/pImage.class.php");
  include("code libraries/pChart2.1.3/class/pData.class.php");
  
   /* Create and populate the pData object */
   $MyData = new pData();   
   $MyData-&gt;addPoints(array(50,2,3,4,7,10,25,48,41,10),"ScoreA");  
   $MyData-&gt;setSerieDescription("ScoreA","Application A");
  
   /* Define the absissa serie */
   $MyData-&gt;addPoints(array("A0","B1","C2","D3","E4","F5","G6","H7","I8","J9"),"Labels");
   $MyData-&gt;setAbscissa("Labels");
  
   /* Create the pChart object */
   $myPicture = new pImage(300,260,$MyData);
  
   /* Draw a solid background */
   $Settings = array("R"=&gt;170, "G"=&gt;183, "B"=&gt;87, "Dash"=&gt;1, "DashR"=&gt;190, "DashG"=&gt;203, "DashB"=&gt;107);
   $myPicture-&gt;drawFilledRectangle(0,0,300,300,$Settings);
  
   /* Overlay with a gradient */
   $Settings = array("StartR"=&gt;219, "StartG"=&gt;231, "StartB"=&gt;139, "EndR"=&gt;1, "EndG"=&gt;138, "EndB"=&gt;68, "Alpha"=&gt;50);
   $myPicture-&gt;drawGradientArea(0,0,300,260,DIRECTION_VERTICAL,$Settings);
   $myPicture-&gt;drawGradientArea(0,0,300,20,DIRECTION_VERTICAL,array("StartR"=&gt;0,"StartG"=&gt;0,"StartB"=&gt;0,"EndR"=&gt;50,"EndG"=&gt;50,"EndB"=&gt;50,"Alpha"=&gt;100));
  
   /* Add a border to the picture */
   $myPicture-&gt;drawRectangle(0,0,299,259,array("R"=&gt;0,"G"=&gt;0,"B"=&gt;0));
  
   /* Write the picture title */ 
   $myPicture-&gt;setFontProperties(array("FontName"=&gt;"code libraries/pChart2.1.3/fonts/Silkscreen.ttf","FontSize"=&gt;6));
   $myPicture-&gt;drawText(10,13,"pPie - Draw 2D pie charts",array("R"=&gt;255,"G"=&gt;255,"B"=&gt;255));
  
   /* Set the default font properties */ 
   $myPicture-&gt;setFontProperties(array("FontName"=&gt;"code libraries/pChart2.1.3/fonts/Forgotte.ttf","FontSize"=&gt;10,"R"=&gt;80,"G"=&gt;80,"B"=&gt;80));
  
   /* Create the pPie object */ 
   $PieChart = new pPie($myPicture,$MyData);
  
   /* Draw an AA pie chart */ 
   $PieChart-&gt;draw3DPie(160,140,array("Radius"=&gt;70,"DrawLabels"=&gt;TRUE,"LabelStacked"=&gt;TRUE,"Border"=&gt;TRUE));
  
   /* Write the legend box */ 
   $myPicture-&gt;setShadow(FALSE);
   $PieChart-&gt;drawPieLegend(15,40,array("Alpha"=&gt;20));
  
   /* Render the picture (choose the best way) */
   $myPicture-&gt;autoOutput("vgraph.png");
  </code></pre>