Merci Fabien!!!!
In my case, the problem was due to the space character. Percents,
ampersands,... works correctly.
To solve it, tried to use urlencode but the generated url didn't work
on google... maybe I didn't use the method in a right way.
Anyway, removing space characters from my urls I solved the problem.
Thank u both!!!
On 9 jun, 20:45, Fabien Ménager <
fabien.mena...@gmail.com> wrote:
> Hello, it doesn't work because of space, percent and other special
> characters in the URLs, you need to encode them using the urlencode
> function from PHP.
>
> On 9 juin, 19:09, Gorka Leguina <
gorkalegu...@gmail.com> wrote:
>
> > I'm using PHP Output Control functions and saving all the html code in
> > a variable: if I echo my variable, all the google chats are perfectly
> > generated.
>
> > Checking what u said about missing images, the problem should be the
> > image size. I give u some examples:
>
> > Pie charts:
> > NOK:
http://chart.apis.google.com/chart?cht=p3&chs=360x150&chl=Movistar,
> > 27.08 %|Orange, 30.38 %|Vodafone, 19.55 %|Fijos, 3.48 %|Servicios
> > Esp., 7.47 %|Yoigo, 6.78 %|MASmovil, 4.45 %|Simyo, 0.80 %&chd=t:
> > 27.0750,30.3810,19.5510,3.4770,7.4670,6.7830,4.4460,0.7980&chco=1874CD|
> > FF8C00|FF0000|66CD00|CCCC99|EEEE00|CCCC99|CCCC99
> > OK:
http://chart.apis.google.com/chart?cht=p3&chs=360x150&chl=Int_Andorra|Int_Holanda&chd=t:57.1432,42.8574&chco=aecae0|dfb740|95b536|e9a376|439f9f|a 03434|885188|567a2e|989000|077cb7|ba6669
>
> > Bar charts:
> > NOK:
http://chart.apis.google.com/chart?cht=bhs&chs=400x130&chxt=x,y&chxr=...
> > de 20|De 20 a 40|De 40 a 60|De 60 a 100|De 100 a 200|Mas de
> > 200&chxs=1,1N*cEUR*,505050&chd=t:
> > 0,0,0,0,0,1&chds=0,2&chbh=10,5&chf=c,lg,0,bbc0b5,0,ecf0e8,1|b0,lg,
> > 90,728da2,1,d0e7f8,0&chg=20,1000,1,0&chco=dfb740&chma=5,5,5,5
> > OK:
http://chart.apis.google.com/chart?cht=bhs&chs=400x130&chxt=x,y&chxr=...Sab|Vie|Jue|Mie|Mar|Lun&chxs=1,1N*cEUR*,505050&chd=t:103.61040,81.35140 ,79.17290,102.85700,102.15320,71.73660,81.14170&chds=0,104.6104&chbh=10,5&c hf=c,lg,0,bbc0b5,0,ecf0e8,1|b0,lg,90,728da2,1,d0e7f8,0&chg=20,1000,1,0&chco =dfb740&chma=5,5,5,5