Take the 2-minute tour ×
Web Applications Stack Exchange is a question and answer site for power users of web applications. It's 100% free, no registration required.

I want to add Google Charts into Orkut Scrapbook. How can I do that without hosting the Image?

share|improve this question
    
See this question on Google Chatroom –  chanchal1987 Oct 1 '10 at 19:52
add comment

1 Answer 1

up vote 1 down vote accepted
+50

As far as I know, you do not need to host the actual image of the chart. On the contrary, you provide the chart parameters as a URL, it get created and hosted by Google, and you get shown the result.

So all you have to do is add an image and set it's source to create the desired chart.

Case in point:

http://chart.apis.google.com/chart?cht=lc&chs=200x125&chbh=15,10&chd=s:ATSTaVd21981uocA&chco=224499&chm=h,76A4FB,0,0:1:.2,.5,-1|V,76A4FB,0,::2,.5,-1|v,ff0000,0,::.75,3,-1

yields

and

http://chart.apis.google.com/chart?cht=bvs&chs=150x100&chbh=15,10&chd=t2:10,20,30,20,70,80|20,10,5,20,30,10|10,0,20,15,60,40,30&chds=0,120&chco=224499,009900&chm=D,76A4FB,2,0,3|N,FF0000,-1,-1,10

yields

PS based on recommendation in comments: Shortening the URL is a great idea. i.e., the last chart can be embedded as tinyurl.com/y7fqgyd - tried it and it works

share|improve this answer
    
But I want to add the chart in Orkut Scrapbook. This link is not works fpr Orkut. How can I do that? –  chanchal1987 Oct 3 '10 at 14:19
    
did you try wrapping those links trough URL shortners? –  alexanderpas Oct 3 '10 at 14:37
    
Shortening the URL is a great idea. i.e., the last chart can be embedded as tinyurl.com/y7fqgyd - tried it and it works –  Traveling Tech Guy Oct 3 '10 at 18:26
1  
@alexanderpas Great. But Add the "URL Shorting" idea with the answer (+10 reps) so that, it will be easily available to others... Thanks... –  chanchal1987 Oct 4 '10 at 19:30
    
Added URL shortening to answer - thanks for the suggestion –  Traveling Tech Guy Oct 5 '10 at 2:21
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.