Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within GWT
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Tim Cooke
Campbell Ritchie
paul wheaton
Ron McLeod
Devaka Cooray
Sheriffs:
Jeanne Boyarsky
Liutauras Vilda
Paul Clapham
Saloon Keepers:
Tim Holloway
Carey Brown
Piet Souris
Bartenders:
Forum:
GWT
I always get Response Time Out when uisng Google Visulazation API with My own DataSource
Ravi Kiran Va
Ranch Hand
Posts: 2234
I like...
posted 14 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi ,
Please see this code ,
<html> <head> <title> Example Chart </title> <script language="javascript" src="http://www.google.com/jsapi"></script> </head> <body> <div id="chart" style="overflow: auto; width: 1200px; height: 738px;"></div> <script type="text/javascript"> google.load('visualization', '1', {'packages':['table']}); google.setOnLoadCallback(drawVisulization); function drawVisulization() { var DATA_SOURCE_URL = "jdbc:mysql://localhost:3306/test"; var query = new google.visualization.Query(DATA_SOURCE_URL, 'root' , 'root'); query.setQuery('SELECT Id , scourse , sname FROM student s'); query.send(handleQueryResponse); } function handleQueryResponse(response) { if (response.isError()) { alert('Error in query: ' + response.getMessage() + ' ' + response.getDetailedMessage()); return; } alert('Hii'); var table = new google.visualization.Table(document.getElementById('viz')); } </script> </body> <div id="viz" style="width:600px"></div> </html>
It always shows Response Time Out .
Please suggets . Thanks
Save India From Corruption - Anna Hazare.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
?
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Is it possible to insert Somecontents into div tag supplied by google Visulization APIS??
noob needs help
For Servlet request, FireFox is opening file for JSON Data
popup in small window is not closing automatically
white-space nowrap and DOCTYPE
More...