> Did you get it to work?
> Or do you still need help?

Hi!
Yes it works now! Thanks

But I'm not sure if the carriage return issue was the problem...
If so, I'm working on changing my datasources...

Since I have not full control over the libraries I'm working with, I'm
solving with this code:

<?php
$string = file_get_contents($my_out_of_full_control_datasource);
echo trim($string, " \n");
?>

Thanks for your time!

>
>
> > Hi!
> > I' m trying to eliminate two carriage returns in my PHP code
> > but (I'don't know why) they are generated after a require_once
> > statement
> > (no, the required-once file has no echos!)
>
> > :-?
>
> > is it there a way to postprocess the response in Javascript????
> > something like trim(response.what?, " \n");
>
> >                var query = new google.visualization.Query('query.php') ;
> >                query.send(handleQueryResponse);
> >                var g  = new
> > google.visualization.Table(document.getElementById
> > ('visualization'));
> >                var data ;
>
> >                function handleQueryResponse(response) {
> >                        if (response.isError()) {
> >                                alert('Error in query: ' +
> > response.getMessage() + ' ' +
> > response.getDetailedMessage());
> >                                return;
> >                        }
> >                        data = response.getDataTable();
> >                        g.draw(data,
> > {allowHtml:true,pageSize:15,page:'enable'});
> >                 }
>
> > On May 12, 5:35 pm, Unruly-Dev <mpcoo...@gmail.com> wrote:
> > > We also got the parenthesis issue at the same time, our problem was
> > > also fixed by removing a carriage return prior to the setResponse
> > > line.
> > > It had previously been working fine.
>
> > > On May 11, 8:01 pm, VizGuy <viz...@google.com> wrote:
>
> > > > So this parenthesis issue is not yet clear to us, but I am glad it
> > > > stopped...I am not sure its related to our change, but we are still
> > > > investigating.
>
> > > > If you have more info, please update.
>
> > > > Thanks,
> > > > VizGuy
>
> > > > On Mon, May 11, 2009 at 8:27 PM, Trymbill <ma...@trymbill.is> wrote:
>
> > > > > Update: It's working now.  Doesn't return a javascript error as of
> > > > > from now.  Hope that will hold :)
>
> > > > > On May 11, 1:24 pm, Trymbill <ma...@trymbill.is> wrote:
> > > > > > I've got the same problem.  Today my code doesn't work, here is the
> > > > > > javascript error firebug outputs:
>
> > > > > > missing ) in parenthetical on line 262 of the .js file [
>
> >http://www.google.com/uds/api/visualization/1.0/28bfe89c82011ce9762b7...
> > > > > > ]
>
> > > > > > We haven't changed anything in our code the last couple of days and
> > > > > > this happened all of a sudden so I guess it's related to this
> > thread.
>
> > > > > > Hope to hear a response soon!
>
> > > > > > Sincerely,
> > > > > > Magnus
>
> > > > > > On May 11, 7:54 am, viz-adict <ramon.loure...@gmail.com> wrote:
>
> > > > > > > Help!
>
> > > > > > > My application doesn't work today!!!
>
> > > > > > > Firebug launches errors on line 232, 263 of
>
> >http://www.google.com/uds/api/visualization/1.0/28bfe89c82011ce9762b7.
> > > > > ..
>
> > > > > > > any idea????
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
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