Hi

There are two things I can think of. First, your json syntax is invalid
(maybe you are missing a ;) look here search
results<http://www.google.com/search?q=Could+not+complete+the+operation+due+to+error+80020101&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a>
.
Second, Query.send should get a function reference and not a string.

Let me know if this solves your issues,

ChartaMan

On Thu, Jul 30, 2009 at 4:34 AM, fmonroy <[email protected]> wrote:

>
> Hello group, I'm trying to implement a datasource using asp.net, sql
> server and json.net
>
> Navigating in the docs noticed that need to write a JSON response, I
> think this part is ready, now I need to use it in the vis:
>
> First trying to create the query this way:
>
> Query = new google.visualization.Query("http://localhost/IdenVisData/
> Default.aspx");
> Query.send("QueryHandler");
>
> and wrote this function to handle it:
>
> function QueryHandler(Resp) {
>   var data = Resp.getDataTable();
>
>   var chart = new google.visualization.MotionChart
> (document.getElementById('chart_div'));
>   chart.draw(data, { width: 800, height: 600, is3D: true, title:
> 'ABC' });
> }
>
> after calling Query.send() it gives an error: "Could not complete the
> operation due to error 80020101."
>
> Any idea? Tnx in advance
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to