Send google chart with email

3,304 views
Skip to first unread message

Houssan A. Hijazi

unread,
Jun 1, 2015, 2:34:19 PM6/1/15
to google-visua...@googlegroups.com
Hi,

how i can send the google chart in email like a image? If i send a <script> is not work.

thanks

Jon Orwant

unread,
Jun 1, 2015, 3:30:06 PM6/1/15
to google-visua...@googlegroups.com

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

Houssan A. Hijazi

unread,
Jun 1, 2015, 6:54:31 PM6/1/15
to google-visua...@googlegroups.com
HI,

this is not work when i send it to email.

thanks


Em segunda-feira, 1 de junho de 2015 16:30:06 UTC-3, orw...@google.com escreveu:
On Mon, Jun 1, 2015 at 2:34 PM, Houssan A. Hijazi <hussan...@gmail.com> wrote:
Hi,

how i can send the google chart in email like a image? If i send a <script> is not work.

thanks

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsub...@googlegroups.com.

Daniel LaLiberte

unread,
Jun 1, 2015, 10:49:15 PM6/1/15
to google-visua...@googlegroups.com
Hi Houssan,

You can send an image through email where the image was generated by the getImageURI() method.  This has to be done in the browser first, after you generate a chart by the normal way, and then you can send the generated image URI out to email.  Is that what you tried to do?  Can you give an example of what you did that you say did not work?

On Mon, Jun 1, 2015 at 6:54 PM, Houssan A. Hijazi <hussan...@gmail.com> wrote:
HI,

this is not work when i send it to email.

thanks

Em segunda-feira, 1 de junho de 2015 16:30:06 UTC-3, orw...@google.com escreveu:
On Mon, Jun 1, 2015 at 2:34 PM, Houssan A. Hijazi <hussan...@gmail.com> wrote:
Hi,

how i can send the google chart in email like a image? If i send a <script> is not work.

thanks

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.
To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.

--
You received this message because you are subscribed to the Google Groups "Google Visualization API" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.



--
dlaliberte@Google.com   5CC, Cambridge MA
daniel.laliberte@GMail.com 9 Juniper Ridge Road, Acton MA

Houssan A. Hijazi

unread,
Jun 2, 2015, 7:36:32 AM6/2/15
to google-visua...@googlegroups.com
Hi,

i did it here, i have a script to generate a uri-data and save in directory, then the email get the url of this image in directory.

Thanks.

--
You received this message because you are subscribed to a topic in the Google Groups "Google Visualization API" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/google-visualization-api/evLfGE07W7o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to google-visualizati...@googlegroups.com.

To post to this group, send email to google-visua...@googlegroups.com.
Visit this group at http://groups.google.com/group/google-visualization-api.
For more options, visit https://groups.google.com/d/optout.



--

Houssan A. Hijazi 

Analista de Sistemas

www.lojasnoparaguai.com.br / www.desaparecidosbr.org

Alessandro Zuliani

unread,
Jun 11, 2015, 11:57:09 AM6/11/15
to google-visua...@googlegroups.com
Hi, 

create a array 
$myarray1="60,40";  (your data)
$myarray2="Hello|World"; (your labels)


and put in the email body:


<img src='https://chart.googleapis.com/chart?cht=lc&chd=t:<?php print ($myarray1); ?>&chs=250x100&chl=<?php print ($myarray2); ?>'>


others suggestions???

Ale z

unread,
Jun 12, 2015, 3:43:02 AM6/12/15
to google-visua...@googlegroups.com
Sorry Image Charts (Deprecated)

Now how i can send the google chart in email ????

Yariv Attar

unread,
Dec 17, 2015, 9:51:32 AM12/17/15
to Google Visualization API
Hi did you found a way to do this? I need to send email with charts to my boss 

David

unread,
May 25, 2016, 12:57:00 PM5/25/16
to Google Visualization API
Was this ever resolved? Doesn't seem to be a good way in Google Charts to use for email since Google Image Charts is deprecated...
Reply all
Reply to author
Forward
0 new messages