can you prepare a test page that reproduces the error that I can look at.
You can use the playground -
http://code.google.com/apis/ajax/playground/?type=visualization

ChartMan

On Thu, Jul 30, 2009 at 5:17 PM, fmonroy <[email protected]> wrote:

>
> Chart, I'm using json.net to gen the json output, coded it here:
> http://localhost/IdenVisData/Default.aspx
>
> I'm returing content type: application/json then this (for 1 row):
>
> { "version": "0.6", "reqId": "0", "status": "ok", "table": { "cols":
> [ { "id": "linea", "label": "Line", "type": "number" }, { "id":
> "cuando", "label": "When", "type": "date" }, { "id": "result",
> "label": "Result", "type": "string" } ], "rows": [ { "c": [ { "v":
> 5.0 }, { "v": "\/Date(1248430707937-0700)\/" }, { "v":
> "FAIL" } ] } ] } }
>
> I just changed the send parameter to the name of the handler function,
> but it generates the same message in internal chart code (looks like
> obfuscated).
>
>
>
>
>
> On Jul 30, 12:39 am, ChartMan <[email protected]> wrote:
> > 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+t...>
> > .
> > 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- Hide quoted text -
> >
> > - Show quoted text -
> >
>

--~--~---------~--~----~------------~-------~--~----~
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