  | 
              
	              
	                
  
    
	 
        JpGraph Error: HTTP headers have already been sent เอาโค๊ด jpgraph ใส่ใน dreamweaver แล้วมัน error แบบนี้ครับต้องทำยังไง     | 
   
  
    |   | 
   
 
 
 
              
  
          
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                เอาโค้ด php ไปใส่เหรอครับ  หรือ โค้ดอะไร 
 
ไม่ใช่ว่าจะใส่เข้าไปยังไงก็ได้นะครับ   การใส่โค้ด เราต้องอ่าน โค้ดออกนะครับ ว่าตัวนั้นมันคืออะไร 
 
ขอดูโค้ดที่ใส่ไปหน่อยครับ                        
               
               | 
             
            
              
			                                
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            17 เม.ย. 2551  18:25:42 | 
                        By :
                            SpyBNC | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> 
<html> 
<head> 
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> 
<title>Untitled Document</title> 
</head> 
 
<body > 
<? 
include ("C:/AppServ/www/jpgraph/src/jpgraph.php"); 
include ("../jpgraph/src/jpgraph_bar.php"); 
 
// We need some data 
$datay=array(10,25,21,35,31,6); 
$datax=array("Jan","Feb","Mar","Apr","May","June"); 
 
// Setup the graph.  
$graph = new Graph(600,200,"auto");	 
$graph->img->SetMargin(60,20,30,50); 
$graph->SetScale("textlin"); 
$graph->SetMarginColor("lightblue"); 
$graph->SetShadow(); 
 
// Set up the title for the graph 
$graph->title->Set("Bar gradient (Left reflection)"); 
$graph->title->SetFont(FF_VERDANA,FS_NORMAL,12); 
$graph->title->SetColor("darkred"); 
 
// Setup font for axis 
$graph->xaxis->SetFont(FF_VERDANA,FS_NORMAL,10); 
$graph->yaxis->SetFont(FF_VERDANA,FS_NORMAL,10); 
 
// Show 0 label on Y-axis (default is not to show) 
$graph->yscale->ticks->SupressZeroLabel(false); 
 
// Setup X-axis labels 
$graph->xaxis->SetTickLabels($datax); 
$graph->xaxis->SetLabelAngle(50); 
 
// Create the bar pot 
$bplot = new BarPlot($datay); 
$bplot->SetWidth(0.6); 
// Setup color for gradient fill style  
$bplot->SetFillGradient("navy","#EEEEEE",GRAD_LEFT_REFLECTION); 
 
// Set color for the frame of each bar 
$bplot->SetColor("white"); 
$graph->Add($bplot); 
 
/*  Finally send the graph to the browser */ 
$graph->Stroke();  
?> 
</body> 
</html> 
 
 
นี่ครับ 
                        
               
               | 
             
            
              
			                                
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            18 เม.ย. 2551  08:43:46 | 
                        By :
                            nut | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	  
        
             | 
            | 
            | 
             | 
         
        
             | 
                       | 
          
            
               
                 ผมใช้กราฟแบบบาแต่กำหนดค่าในแกนเอ็กไม่เป็นครับ ช่วยหน่อยครับต้องใช่โด้คอะไร ขอบคุณครับ                        
               
               | 
             
            
              
			                                
              
                
                     | 
                     | 
                     | 
                 
                
                     | 
                  
                      
                        | Date :
                            2009-06-08 22:04:04 | 
                        By :
                            แทน | 
                         
                    | 
                     | 
                 
                
                     | 
                     | 
                     | 
                 
                | 
             
           
			         | 
             | 
         
        
             | 
            | 
             | 
             | 
         
          
	    
     
               
		
     
		
	     
	    
     
      		  
	
     | 
   
 
                 |