Use encoding (makes your urls smaller) or try to POST (16000 characters
allowed) your request instead of using GET (2000 allowed).

Encoding:
http://code.google.com/intl/nl-BE/apis/chart/docs/data_formats.html#simple

POST:  http://code.google.com/intl/nl-BE/apis/chart/docs/post_requests.html



2010/5/10 HKA <[email protected]>

> Hi!
>
> I want to generate a graph through the following URL. However the url
> is too long, the main reason being that it contains so many icons of
> the type "map_xpin_letter". Is it possible to make the URL shorter, is
> it e.g. possible to write the name "map_xpin_letter" once instead of
> 11 times?
>
>
> http://chart.apis.google.com/chart?cht=bvg&chtt=SANDVIK,+2010&chts=000000,20&chs=800x200&chd=t1:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1857561,0,79750,0,0,8279350,0,0,0,169464997,0,0,0,0,76750,0,0,-397000,0,0,0,209224998,0,139235004,0,88800003,0,0,0,0,0,-608076,0,0,456500,0,0,0,0,0,0,238674879,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,238400|86.4,88.5,88.0,87.7,89.2,89.75,87.05,87.8,88.1,86.65,86.25,86.0,83.45,82.1,81.8,83.15,82.95,83.4,79.85,81.2,82.6,82.15,84.3,81.8,80.35,79.6,80.05,79.75,80.5,77.75,76.45,77.65,79.4,80.2,81.5,80.45,78.7,77.65,76.45,76.75,78.5,79.3,80.1,80.9,83.4,84.35,84.5,87.05,86.6,88.8,87.7,88.4,89.55,89.25,88.9,88.95,91.1,91.3,91.3,90.5,89.75,89.75,90.25,94.25,96.5,94.4,94.2,95.3,95.65,94.0,94.05,96.25,100.8,98.75,101.5,99.1,98.85,105.1,107.0,103.5,102.2,105.0,105.0,105.6,101.3,96.3,95.1,91.6&chm=D,00422F,1,0,5,1|h,9D9D9D,0,0.04,1|V,cccccc,0,0,1.0|V,cccccc,0,19,1.0|V,cccccc,0,39,1.0|V,cccccc,0,82,1.0|V,cccccc,0,62,1.0&chxt=x,y,r&chxr=1,75.0,109.0&chxl=0:|jan|||||||||||||||||||feb||||||||||||||||||||mar|||||||||||||||||||||||apr||||||||||||||||||||maj|||||2:|-10+000+000|40+000+000|90+000+000|140+000+000|190+000+000|240+000+000|1:|75.00|81.80|88.60|95.40|102.20|109.00&chxs=2,,11,1&chds=-1.0E7,2.4E8,75.0,109.0&chbh=a&chg=0,20,1,0,0,0&chem=y;s=map_xpin_letter;d=pin,4,32CD32;dp=26;ds=1|y;s=map_xpin_letter;d=pin,1,32CD32;dp=28;ds=1|y;s=map_xpin_letter;d=pin,2,32CD32;dp=31;ds=1|y;s=map_xpin_letter;d=pin,6,32CD32;dp=35;ds=1|y;s=map_xpin_letter;d=pin,1,32CD32;dp=40;ds=1|y;s=map_spin;d=0.6,180,FF0000,12,_,1;ds=1;dp=43;of=0,-40|y;s=map_xpin_letter;d=pin,3,32CD32;dp=47;ds=1|y;s=map_xpin_letter;d=pin,2,32CD32;dp=49;ds=1|y;s=map_xpin_letter;d=pin,1,32CD32;dp=51;ds=1|y;s=map_spin;d=0.6,180,FF0000,12,_,1;ds=1;dp=57;of=0,-40|y;s=map_xpin_letter;d=pin,1,32CD32;dp=60;ds=1|y;s=map_xpin_letter;d=pin,1,32CD32;dp=67;ds=1|y;s=map_xpin_letter;d=pin,2,32CD32;dp=87;ds=1<http://chart.apis.google.com/chart?cht=bvg&chtt=SANDVIK,+2010&chts=000000,20&chs=800x200&chd=t1:0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1857561,0,79750,0,0,8279350,0,0,0,169464997,0,0,0,0,76750,0,0,-397000,0,0,0,209224998,0,139235004,0,88800003,0,0,0,0,0,-608076,0,0,456500,0,0,0,0,0,0,238674879,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,238400%7C86.4,88.5,88.0,87.7,89.2,89.75,87.05,87.8,88.1,86.65,86.25,86.0,83.45,82.1,81.8,83.15,82.95,83.4,79.85,81.2,82.6,82.15,84.3,81.8,80.35,79.6,80.05,79.75,80.5,77.75,76.45,77.65,79.4,80.2,81.5,80.45,78.7,77.65,76.45,76.75,78.5,79.3,80.1,80.9,83.4,84.35,84.5,87.05,86.6,88.8,87.7,88.4,89.55,89.25,88.9,88.95,91.1,91.3,91.3,90.5,89.75,89.75,90.25,94.25,96.5,94.4,94.2,95.3,95.65,94.0,94.05,96.25,100.8,98.75,101.5,99.1,98.85,105.1,107.0,103.5,102.2,105.0,105.0,105.6,101.3,96.3,95.1,91.6&chm=D,00422F,1,0,5,1%7Ch,9D9D9D,0,0.04,1%7CV,cccccc,0,0,1.0%7CV,cccccc,0,19,1.0%7CV,cccccc,0,39,1.0%7CV,cccccc,0,82,1.0%7CV,cccccc,0,62,1.0&chxt=x,y,r&chxr=1,75.0,109.0&chxl=0:%7Cjan%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7Cfeb%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7Cmar%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7Capr%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7C%7Cmaj%7C%7C%7C%7C%7C2:%7C-10+000+000%7C40+000+000%7C90+000+000%7C140+000+000%7C190+000+000%7C240+000+000%7C1:%7C75.00%7C81.80%7C88.60%7C95.40%7C102.20%7C109.00&chxs=2,,11,1&chds=-1.0E7,2.4E8,75.0,109.0&chbh=a&chg=0,20,1,0,0,0&chem=y;s=map_xpin_letter;d=pin,4,32CD32;dp=26;ds=1%7Cy;s=map_xpin_letter;d=pin,1,32CD32;dp=28;ds=1%7Cy;s=map_xpin_letter;d=pin,2,32CD32;dp=31;ds=1%7Cy;s=map_xpin_letter;d=pin,6,32CD32;dp=35;ds=1%7Cy;s=map_xpin_letter;d=pin,1,32CD32;dp=40;ds=1%7Cy;s=map_spin;d=0.6,180,FF0000,12,_,1;ds=1;dp=43;of=0,-40%7Cy;s=map_xpin_letter;d=pin,3,32CD32;dp=47;ds=1%7Cy;s=map_xpin_letter;d=pin,2,32CD32;dp=49;ds=1%7Cy;s=map_xpin_letter;d=pin,1,32CD32;dp=51;ds=1%7Cy;s=map_spin;d=0.6,180,FF0000,12,_,1;ds=1;dp=57;of=0,-40%7Cy;s=map_xpin_letter;d=pin,1,32CD32;dp=60;ds=1%7Cy;s=map_xpin_letter;d=pin,1,32CD32;dp=67;ds=1%7Cy;s=map_xpin_letter;d=pin,2,32CD32;dp=87;ds=1>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Chart API" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-chart-api%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-chart-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Chart 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-chart-api?hl=en.

Reply via email to