Well, i thing is alredy resolve :) , the goo2.php it alredy show something but 
the main thing is the 
grafic with the goochart.html file, its still blank, i have been changing a few 
things, but same result!!. 
Attach the "View page source code" of the goochart.html.


<html xmlns="http://www.w3.org/1999/xhtml";><head><meta 
http-equiv="Content-Type" content="text/html; charset=utf-8"><title>GRAFICAS 
SEMANALES</title></head><body>      <script type="text/javascript" 
src="https://www.google.com/jsapi 
<view-source:https://www.google.com/jsapi>"></script>     <script 
type="text/javascript" src="jquery-1.6.2.min.js"></script>    <script 
type="text/javascript">      google.load("visualization", "1", 
{packages:["corechart"]});      google.setOnLoadCallback(drawChart);           
function drawChart() {              var jsonData = $.ajax({          url: 
"http://localhost/MyProject/getdata.php",//a chage this part to see what will 
happend,firt it was the goo2.php!!          dataType:"json",          async: 
false          }).responseText;                                    var data = 
google.visualization.DataTable(jsonData);                               var 
options = {          title: 'SALIDAS SEMANALES',          hAxis: {title: 
'SEMANAS', titleTextStyle: {color: 'red'}}        };               var chart = 
new google.visualization.ColumnChart(document.getElementById('chart_div'));     
   chart.draw(data, options);      }    </script><script 
src="https://www.google.com/uds/?file=visualization&amp;v=1&amp;packages=corechart
 
<view-source:https://www.google.com/uds/?file=visualization&v=1&packages=corechart>"
 type="text/javascript"></script><script 
src="https://www.google.com/uds/api/visualization/1.0/d7d36793f7a886b687850d2813583db9/format+es,default,corechart.I.js
 
<view-source:https://www.google.com/uds/api/visualization/1.0/d7d36793f7a886b687850d2813583db9/format+es,default,corechart.I.js>"
 type="text/javascript"></script>        <div id="chart_div" style="width: 
900px; height: 500px;"></div>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-visualization-api/-/pIrL8v6zHdQJ.
To post to this group, send email to google-visualization-api@googlegroups.com.
To unsubscribe from this group, send email to 
google-visualization-api+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to