Let's try with an HTML post... click here<http://chart.apis.google.com/chart?cht=lc&chs=300x325&chd=t:10,20,40,80,90,95,99%7C20,30,40,50,60,70,80%7C0&chco=3072F3,ff0000,00aaaa&chm=o,000000,2,1000,10&chdlp=t&chfd=2,y,0,25,.01,50*%28sin%28y%29%2B1%29&chem=y;s=ecb;d=edge_bl,0,000,888888,cht,lxy,chs,200x200,chf,bg@,s@,888888,chd,t:10@,20@,40@,80@,90@,95@,9...@%7c20@,30@,40@,50@,60@,70@,80,chem,y@;s=ec@;d=bl@,chs@,80x80@,cht@,qr@,chl@,Hello%252520world@,choe@,UTF-8@,chf@,bg@@@,s@@@,00000000@;ds=0@;dp=2;ds=0;dp=2> for the chart example You should see a QR-code graph embedded in a gray-background yellow line chart embedded in a red, blue and cyan line chart.
On Tue, Dec 14, 2010 at 10:55, Peter Waher <[email protected]> wrote: > Hmmmm. > > I see now something happens to the long url's when posting them > here... Could you try and post your chart again, but skipping > everything before the '?' character? > > Sincerely, > Peter Waher > > On Dec 14, 10:52 am, Peter Waher <[email protected]> wrote: > > Hello Roger. > > > > Thank you for your quick reply. > > > > I tried your url, but it only showed an empty graph with axes. After > > removing the elipsis in the url, it shows an empty blue line chart. No > > embedded charts: > http://chart.apis.google.com/chart?cht=lc&chs=300x325&chd=t:10,20,40,...0&chco=3072F3,ff0000,00aaaa&chm=o,000000,2,1000,10&chd > lp=t&chfd=2,y,0,25,.01,50*(sin(y)%2B1)&chem=y;s=ecb;d=edge_bl,0,000,888888,cht,lxy,chs,200x200,chf,bg@ > ,s@,888888,chd,t:10@,20@,40@,80@,90@,95@,99@|2...@,30@,40@,50@,60@,70@ > ,80,chem,y@;s=ec@;d=bl@,chs@,80x80@,cht@,qr@,chl@,Hello%252520world@ > ,choe@,UTF-8@,chf@,bg@@@,s@@@,00000000@;ds=0@;dp=2;ds=0;dp=2 > > > > Something went wrong when pasting the url? > > > > I've also tried removing all unneccessary elements from my example, to > > see if it is the complexity that makes the embedded charts disappear. > > However, I still get the same error. When having 3 levels of charts, > > only the topmost is displayed: > > > > http://0.chart.apis.google.com/chart?cht=bhg&chd=e:MzZmmZzM--&chds=0,... > > > > Removing the innermost chart makes the first two show correctly: > > > > http://0.chart.apis.google.com/chart?cht=bhg&chd=e:MzZmmZzM--&chds=0,... > > > > If not the encoding, and not complexity, what more can explain this > > behaviour? May different chart types be incompatible with each other > > during embedding? > > > > Thanks in advance, > > Peter Waher > > > > On Dec 13, 11:39 am, Roger Trias Sanz <[email protected]> wrote: > > > > > > > > > Hi Peter, > > > It is possible to embed with 3 levels of nesting, and more, for example > > > > > > http://chart.apis.google.com/chart?cht=lc&chs=300x325&chd=t:10,20,40,...0&chco=3072F3,ff0000,00aaaa&chm=o,000000,2,1000,10&chd > lp=t&chfd=2,y,0,25,.01,50*(sin(y)%2B1)&chem=y;s=ecb;d=edge_bl,0,000,888888,cht,lxy,chs,200x200,chf,bg@ > ,s@,888888,chd,t:10@,20@,40@,80@,90@,95@,99@|2...@,30@,40@,50@,60@,70@ > ,80,chem,y@;s=ec@;d=bl@,chs@,80x80@,cht@,qr@,chl@,Hello%252520world@ > ,choe@,UTF-8@,chf@,bg@@@,s@@@,00000000@;ds=0@;dp=2;ds=0;dp=2 > > > > > However, there are two points to take into account > > > - escaping becomes really tricky. I didn't look at your URL in detail, > but I > > > think that you are doing it right. See my URL for an example > > > - there are limits on the complexity of the full graph; nesting graphs > > > increases the complexity significantly, as does the usage of "ecb" > (which > > > basically adds yet another level of nesting). When the limits are > exceeded, > > > we stop drawing -- but what's already drawn stays, in some cases > (that's why > > > you don't get a totally empty graph). You'll notice that my example is > > > significantly simpler than yours. > > > > > On Fri, Dec 10, 2010 at 11:59, Peter Waher <[email protected]> > wrote: > > > > Hello > > > > > > Question: Is it possible to embed a chart in an already embedded > > > > chart? I've succesfully interfaced all features and diagram formats > in > > > > the Google Chart API, including embedding a chart in another, but > when > > > > I try to embed a chart in an already embedded charts (i.e. 3 levels > of > > > > nesting), the second chart (with it's third chart) vanishes. > > > > > > Since I cannot find an example of this in the documentation (or a > > > > statement that it should be possible), I have to ask if it is > > > > possible. > > > > > > I try with the following url: > > > > > > > http://0.chart.apis.google.com/chart?chs=600x400&cht=bhg&chf=c,lg,45,...m=y;s=ecb;d=edge_lt,10,404020,FFFFA0,chs,300x325,cht,lxy,chf,bg@,s@,FFFFA0, > chls,2@,4@,1,chm,s@,000000@,0@,@,5@|s@,000000@,1@ > ,@,5,chd,e:gamzzmzm5m8y-...@,MzTNZmgAmZszzM@,__@,DNGaOFWZ2Z,chds,0@,100@ > ,0@,100@,@,0@,100,chem,y@;s%3Decb@;d%3Dedge_br@,0@,00D0D0@,80FFFF@,chs@ > ,150x90@,chl@,@,cht@,p@,chf@,b...@@@,s@@@,80FFFF@,chd@,e:VVqq--@,chds@,0@ > @@,30@,chdl@,Shire@@@|Welsh@@@|Clydesdale@;ds%3D0@;dp%3D3,chco,3072F3@ > ,FF0000@,00AAAA,chdl,Ponies@ > |Unicorns,chdlp,t;ds=0;dp=0&chbh=a,5,10&chdl=a|b|c|d|e&chdlp=r&chco=FF0000|00FF00|0000FF|FFFF00|00FFFF< > http://0.chart.apis.google.com/chart?chs=600x400&cht=bhg&chf=c,lg,45,...> > > > > > > (This has a chart, with an embedded chart and a chart embedded in the > > > > 2nd chart. However, only the first chart is displayed.) > > > > > > However, removing the 3rd chart, the first two charts display > > > > correctly: > > > > > > > http://0.chart.apis.google.com/chart?chs=600x400&cht=bhg&chf=c,lg,45,...m=y;s=ecb;d=edge_lt,10,404020,FFFFA0,chs,300x325,cht,lxy,chf,bg@,s@,FFFFA0, > chls,2@,4@,1,chm,s@,000000@,0@,@,5@|s@,000000@,1@ > ,@,5,chd,e:gamzzmzm5m8y-...@,MzTNZmgAmZszzM@,__@,DNGaOFWZ2Z,chds,0@,100@ > ,0@,100@,@,0@,100,chco,3072F3@,FF0000@,00AAAA,chdl,Ponies@ > |Unicorns,chdlp,t;ds=0;dp=0&chbh=a,5,10&chdl=a|b|c|d|e&chdlp=r&chco=FF0000|00FF00|0000FF|FFFF00|00FFFF< > http://0.chart.apis.google.com/chart?chs=600x400&cht=bhg&chf=c,lg,45,...> > > > > > > If it should be possible, any clue as to what is wrong? > > > > > > Thanks in advance, > > > > Peter Waher > > > > > > -- > > > > 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]> > <google-chart-api%2bunsubscrib[email protected]> > > > > . > > > > For more options, visit this group at > > > >http://groups.google.com/group/google-chart-api?hl=en. > > > > > -- > > > *Google Switzerland GmbH - Identifikationsnummer: CH-020.4.028.116-1 > > > > > ***- Hide quoted text - > > > > > - Show quoted text -- Hide quoted text - > > > > - Show quoted text - > > -- > 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. > > -- *Google Switzerland GmbH - Identifikationsnummer: CH-020.4.028.116-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]. For more options, visit this group at http://groups.google.com/group/google-chart-api?hl=en.
