Adding GoogleVis plot in the tooltip itself

105 views
Skip to first unread message

Christofer Bogaso

unread,
Jul 7, 2017, 5:08:22 AM7/7/17
to Google Visualization API
Hi,

I have posted this issue in some other forum, however unable to get any satisfactory reply. Hope expert here would provide some some light/pointer how to achieve below.

I am tying to put some Googlevis plot in the tooltip of another Googlevis line chart as follows.


library(googleVis)
library(quantmod)

 sp500 = as.zoo(na.omit( 
   getSymbols(
    "SP500",
     src = "FRED",
     auto.assign = FALSE
   )
 ))

 sp500 = window(as.zoo(sp500), start = as.Date("2017-04-01"))

 ### Now a dummy TS, to be used in the tooltip
Dummy = tail(sp500, 10)
Dummy.df = data.frame('date' = index(Dummy), 'data' = coredata(Dummy))
m = gvisLineChart(
   data = Dummy.df,
   xvar = "date",
   yvar = "SP500",
   options = list(
     title = "Dummy TS",
     height = 400,
     width = 600
   ))

htmlstring = paste(c(m$html$header,paste(m$html$chart,collapse = ""),m$html$caption,m$html$footer),collapse = "\n")

final.df = data.frame('X' = index(sp500), 'Y' = coredata(sp500)[,1], 'Y.html.tooltip' = htmlstring)

plot(gvisLineChart(
   data = final.df,
   xvar = "X",
   yvar = c("Y", "Y.html.tooltip"),
   options = list(
     title = "Final TS",
     height = 400,
     width = 600, tooltip = '{isHtml: true}'
   )))



However for some reason, I am not able to generate any plot. Probably I could not create right HTML code for my 1st plot 'm'. Could someone please help me with right pointer.

Thanks,

Daniel LaLiberte

unread,
Jul 7, 2017, 8:05:33 AM7/7/17
to Google Visualization API
Can you point us at a web page showing this?  It will have all the html and js code that we can look at and figure out what is happening.  

--
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.
To post to this group, send email to google-visualization-api@googlegroups.com.
Visit this group at https://groups.google.com/group/google-visualization-api.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--

Christofer Bogaso

unread,
Jul 7, 2017, 12:10:22 PM7/7/17
to google-visua...@googlegroups.com
Hi Daniel, attaching a snapshot and html file that GoogleVis is generating.

Let me know if anything else required. Thanks,
>> email to google-visualizati...@googlegroups.com.
>> To post to this group, send email to
>> google-visua...@googlegroups.com.
>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Daniel LaLiberte
> dlali...@Google.com 5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
LineChartID57c862b65a.html
Screen Shot .png

Daniel LaLiberte

unread,
Jul 7, 2017, 12:30:06 PM7/7/17
to Google Visualization API
A picture of the error and the html of the error is not going to help figure out where the error comes from.  I was hoping to see the web page that results in the error when it is loaded in a browser.  I'm not sure yet whether what you are calling GoogleVis is even using Google Charts, which is what this forum is about.  From the code in your first message, it appears GoogleVis might be a wrapper around Google Charts, but I can't tell.


>> To post to this group, send email to

>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Daniel LaLiberte
> dlali...@Google.com   5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

> To post to this group, send email to

> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
>
> 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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Christofer Bogaso

unread,
Jul 7, 2017, 1:29:01 PM7/7/17
to google-visua...@googlegroups.com
I am generating Google vis chart through R.

I would appreciate if you can give any pointer how can I generate
further information that you may look for for its remediation.
>> >> email to google-visualizati...@googlegroups.com.
>> >> To post to this group, send email to
>> >> google-visua...@googlegroups.com.
>> >> Visit this group at
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com 5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/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
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >
>> > 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.
> dlali...@Google.com 5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.

Daniel LaLiberte

unread,
Jul 7, 2017, 1:34:07 PM7/7/17
to Google Visualization API
Point us at the web page that demonstrates the problem, not the error, but the page that results in the error.


>> >> To post to this group, send email to

>> >> Visit this group at
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com   5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/unsubscribe.
>> > To unsubscribe from this group and all its topics, send an email to

>> > To post to this group, send email to

>> > Visit this group at
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >
>> > 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

>> To post to this group, send email to

>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Daniel LaLiberte
> dlali...@Google.com   5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

> To post to this group, send email to

> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
>
> 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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Christofer Bogaso

unread,
Jul 7, 2017, 1:35:58 PM7/7/17
to google-visua...@googlegroups.com
I am running it locally in my laptop. Below is the webpage address. Is
it that you asking for?

http://127.0.0.1:26390/custom/googleVis/LineChartID28b4fbcd222.html
>> >> >> email to google-visualizati...@googlegroups.com.
>> >> >> To post to this group, send email to
>> >> >> google-visua...@googlegroups.com.
>> >> >> Visit this group at
>> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> To view this discussion on the web visit
>> >> >>
>> >> >>
>> >> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Daniel LaLiberte
>> >> > dlali...@Google.com 5CC, Cambridge MA
>> >> >
>> >> > --
>> >> > 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/vwVTbnsKe8E/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
>> >> > https://groups.google.com/group/google-visualization-api.
>> >> > To view this discussion on the web visit
>> >> >
>> >> >
>> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >> >
>> >> > 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
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com 5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/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
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.
>> >
>> > 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.
> dlali...@Google.com 5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%3D%3D03Pdv1iddgNarGqWtWUkMN_v-yUdMfuBg6W_on6UQ%40mail.gmail.com.

Daniel LaLiberte

unread,
Jul 7, 2017, 1:41:49 PM7/7/17
to Google Visualization API
Right, that would be a url for the web page, but not one we can access publicly.  Can you create a small public example, say on jsfiddle?



>> >> >> To post to this group, send email to

>> >> >> Visit this group at
>> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> To view this discussion on the web visit
>> >> >>
>> >> >>
>> >> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Daniel LaLiberte
>> >> > dlali...@Google.com   5CC, Cambridge MA
>> >> >
>> >> > --
>> >> > 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/vwVTbnsKe8E/unsubscribe.
>> >> > To unsubscribe from this group and all its topics, send an email to

>> >> > To post to this group, send email to

>> >> > Visit this group at
>> >> > https://groups.google.com/group/google-visualization-api.
>> >> > To view this discussion on the web visit
>> >> >
>> >> >
>> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >> >
>> >> > 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

>> >> To post to this group, send email to

>> >> Visit this group at
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com   5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/unsubscribe.
>> > To unsubscribe from this group and all its topics, send an email to

>> > To post to this group, send email to

>> > Visit this group at
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.
>> >
>> > 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

>> To post to this group, send email to

>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJk7HVnDKhQxmg06QMA-jVd2nFExOuQ1m67Zvex6e3rndA%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Daniel LaLiberte
> dlali...@Google.com   5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

> To post to this group, send email to

> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
>
> 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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Christofer Bogaso

unread,
Jul 7, 2017, 1:47:45 PM7/7/17
to google-visua...@googlegroups.com
Not sure if jsfiddle can run R code.

However previously I have shared the R code. That was certainly
reproducible. was not that of any help?
>> >> >> >> email to google-visualizati...@googlegroups.com.
>> >> >> >> To post to this group, send email to
>> >> >> >> google-visua...@googlegroups.com.
>> >> >> >> Visit this group at
>> >> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> >> To view this discussion on the web visit
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Daniel LaLiberte
>> >> >> > dlali...@Google.com 5CC, Cambridge MA
>> >> >> >
>> >> >> > --
>> >> >> > 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/vwVTbnsKe8E/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
>> >> >> > https://groups.google.com/group/google-visualization-api.
>> >> >> > To view this discussion on the web visit
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >> >> >
>> >> >> > 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
>> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> To view this discussion on the web visit
>> >> >>
>> >> >>
>> >> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Daniel LaLiberte
>> >> > dlali...@Google.com 5CC, Cambridge MA
>> >> >
>> >> > --
>> >> > 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/vwVTbnsKe8E/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
>> >> > https://groups.google.com/group/google-visualization-api.
>> >> > To view this discussion on the web visit
>> >> >
>> >> >
>> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.
>> >> >
>> >> > 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
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJk7HVnDKhQxmg06QMA-jVd2nFExOuQ1m67Zvex6e3rndA%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com 5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/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
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%3D%3D03Pdv1iddgNarGqWtWUkMN_v-yUdMfuBg6W_on6UQ%40mail.gmail.com.
>> >
>> > 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.
> dlali...@Google.com 5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMi3UaYtytqs5LEHLOc0MUOfGGdk6-APLTaYAsd2Us-Cg%40mail.gmail.com.

Daniel LaLiberte

unread,
Jul 7, 2017, 1:53:37 PM7/7/17
to Google Visualization API
I don't know R.  If there is a problem in how the JavaScript code is generated, we would need to see the generated JavaScript. So seeing the R code won't help even if I knew it, unless we have complete faith in the GoogleVis wrapper to do the right thing.


>> >> >> >> To post to this group, send email to

>> >> >> >> Visit this group at
>> >> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> >> To view this discussion on the web visit
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Daniel LaLiberte
>> >> >> > dlali...@Google.com   5CC, Cambridge MA
>> >> >> >
>> >> >> > --
>> >> >> > 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/vwVTbnsKe8E/unsubscribe.
>> >> >> > To unsubscribe from this group and all its topics, send an email
>> >> >> > to

>> >> >> > To post to this group, send email to

>> >> >> > Visit this group at
>> >> >> > https://groups.google.com/group/google-visualization-api.
>> >> >> > To view this discussion on the web visit
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >> >> >
>> >> >> > 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

>> >> >> To post to this group, send email to

>> >> >> Visit this group at
>> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> To view this discussion on the web visit
>> >> >>
>> >> >>
>> >> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Daniel LaLiberte
>> >> > dlali...@Google.com   5CC, Cambridge MA
>> >> >
>> >> > --
>> >> > 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/vwVTbnsKe8E/unsubscribe.
>> >> > To unsubscribe from this group and all its topics, send an email to

>> >> > To post to this group, send email to

>> >> > Visit this group at
>> >> > https://groups.google.com/group/google-visualization-api.
>> >> > To view this discussion on the web visit
>> >> >
>> >> >
>> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.
>> >> >
>> >> > 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

>> >> To post to this group, send email to

>> >> Visit this group at
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJk7HVnDKhQxmg06QMA-jVd2nFExOuQ1m67Zvex6e3rndA%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com   5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/unsubscribe.
>> > To unsubscribe from this group and all its topics, send an email to

>> > To post to this group, send email to

>> > Visit this group at
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%3D%3D03Pdv1iddgNarGqWtWUkMN_v-yUdMfuBg6W_on6UQ%40mail.gmail.com.
>> >
>> > 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

>> To post to this group, send email to

>> Visit this group at
>> https://groups.google.com/group/google-visualization-api.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkGMMge79TgjWLFpuO-1fqbs8KLMexzdYntWuFA56CrMg%40mail.gmail.com.
>> For more options, visit https://groups.google.com/d/optout.
>
>
>
>
> --
> Daniel LaLiberte
> dlali...@Google.com   5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to

> To post to this group, send email to

> Visit this group at
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
>
> 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-visualization-api+unsub...@googlegroups.com.
To post to this group, send email to google-visualization-api@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--

Christofer Bogaso

unread,
Jul 7, 2017, 1:59:56 PM7/7/17
to google-visua...@googlegroups.com
Does below line of result help? This is basically 'm' is my original R
Code which gvisLineChart() function generates.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<title>LineChartID28b59a0dbc6</title>

<meta http-equiv="content-type" content="text/html;charset=utf-8" />

<style type="text/css">

body {

color: #444444;

font-family: Arial,Helvetica,sans-serif;

font-size: 75%;

}

a {

color: #4D87C7;

text-decoration: none;

}

</style>

</head>

<body>

<!-- LineChart generated in R 3.4.0 by googleVis 0.6.2 package -->

<!-- Fri Jul 7 23:05:03 2017 -->



<!-- jsHeader -->

<script type="text/javascript">



// jsData

function gvisDataLineChartID28b59a0dbc6 () {

var data = new google.visualization.DataTable();

var datajson =

[

[

new Date(2017,5,22),

2434.5

],

[

new Date(2017,5,23),

2438.3

],

[

new Date(2017,5,26),

2439.07

],

[

new Date(2017,5,27),

2419.38

],

[

new Date(2017,5,28),

2440.69

],

[

new Date(2017,5,29),

2419.7

],

[

new Date(2017,5,30),

2423.41

],

[

new Date(2017,6,3),

2429.01

],

[

new Date(2017,6,5),

2432.54

],

[

new Date(2017,6,6),

2409.75

]

];

data.addColumn('date','date');

data.addColumn('number','SP500');

data.addRows(datajson);

return(data);

}



// jsDrawChart

function drawChartLineChartID28b59a0dbc6() {

var data = gvisDataLineChartID28b59a0dbc6();

var options = {};

options["allowHtml"] = true;

options["title"] = "Dummy TS";

options["height"] = 400;

options["width"] = 600;



var chart = new google.visualization.LineChart(

document.getElementById('LineChartID28b59a0dbc6')

);

chart.draw(data,options);




}





// jsDisplayChart

(function() {

var pkgs = window.__gvisPackages = window.__gvisPackages || [];

var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || [];

var chartid = "corechart";



// Manually see if chartid is in pkgs (not all browsers support Array.indexOf)

var i, newPackage = true;

for (i = 0; newPackage && i < pkgs.length; i++) {

if (pkgs[i] === chartid)

newPackage = false;

}

if (newPackage)

pkgs.push(chartid);



// Add the drawChart function to the global list of callbacks

callbacks.push(drawChartLineChartID28b59a0dbc6);

})();

function displayChartLineChartID28b59a0dbc6() {

var pkgs = window.__gvisPackages = window.__gvisPackages || [];

var callbacks = window.__gvisCallbacks = window.__gvisCallbacks || [];

window.clearTimeout(window.__gvisLoad);

// The timeout is set to 100 because otherwise the container div we are

// targeting might not be part of the document yet

window.__gvisLoad = setTimeout(function() {

var pkgCount = pkgs.length;

google.load("visualization", "1", { packages:pkgs, callback: function() {

if (pkgCount != pkgs.length) {

// Race condition where another setTimeout call snuck in after us; if

// that call added a package, we must not shift its callback

return;

}

while (callbacks.length > 0)

callbacks.shift()();

} });

}, 100);

}



// jsFooter

</script>



<!-- jsChart -->

<script type="text/javascript"
src="https://www.google.com/jsapi?callback=displayChartLineChartID28b59a0dbc6"></script>



<!-- divChart -->



<div id="LineChartID28b59a0dbc6"

style="width: 600; height: 400;">

</div>

<div><span>Data: data &#8226; Chart ID: <a
href="Chart_LineChartID28b59a0dbc6.html">LineChartID28b59a0dbc6</a>
&#8226; <a href="https://github.com/mages/googleVis">googleVis-0.6.2</a></span><br
/>

<!-- htmlFooter -->

<span>

R version 3.4.0 (2017-04-21)

&#8226; <a href="https://developers.google.com/terms/">Google Terms
of Use</a> &#8226; <a
href="https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart">Documentation
and Data Policy</a>

</span></div>

</body>

</html>


Additionally, the HTML string (refer to the variable 'htmlstring' in
my original R code)

"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\"\n
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<html
xmlns=\"http://www.w3.org/1999/xhtml\">\n<head>\n<title>LineChartID28b59a0dbc6</title>\n<meta
http-equiv=\"content-type\" content=\"text/html;charset=utf-8\"
/>\n<style type=\"text/css\">\nbody {\n color: #444444;\n
font-family: Arial,Helvetica,sans-serif;\n font-size: 75%;\n }\n a
{\n color: #4D87C7;\n text-decoration:
none;\n}\n</style>\n</head>\n<body>\n\n<!-- LineChart generated in R
3.4.0 by googleVis 0.6.2 package -->\n<!-- Fri Jul 7 23:05:03 2017
-->\n\n\n<!-- jsHeader -->\n<script type=\"text/javascript\">\n\n//
jsData \nfunction gvisDataLineChartID28b59a0dbc6 () {\nvar data = new
google.visualization.DataTable();\nvar datajson =\n[\n [\nnew
Date(2017,5,22),\n2434.5\n],\n[\nnew
Date(2017,5,23),\n2438.3\n],\n[\nnew
Date(2017,5,26),\n2439.07\n],\n[\nnew
Date(2017,5,27),\n2419.38\n],\n[\nnew
Date(2017,5,28),\n2440.69\n],\n[\nnew
Date(2017,5,29),\n2419.7\n],\n[\nnew
Date(2017,5,30),\n2423.41\n],\n[\nnew
Date(2017,6,3),\n2429.01\n],\n[\nnew
Date(2017,6,5),\n2432.54\n],\n[\nnew Date(2017,6,6),\n2409.75\n]
\n];\ndata.addColumn('date','date');\ndata.addColumn('number','SP500');\ndata.addRows(datajson);\nreturn(data);\n}\n\n//
jsDrawChart\nfunction drawChartLineChartID28b59a0dbc6() {\nvar data =
gvisDataLineChartID28b59a0dbc6();\nvar options =
{};\noptions[\"allowHtml\"] = true;\noptions[\"title\"] = \"Dummy
TS\";\noptions[\"height\"] = 400;\noptions[\"width\"] = 600;\n\n\n
var chart = new google.visualization.LineChart(\n
document.getElementById('LineChartID28b59a0dbc6')\n );\n
chart.draw(data,options);\n \n\n}\n \n\n//
jsDisplayChart\n(function() {\nvar pkgs = window.__gvisPackages =
window.__gvisPackages || [];\nvar callbacks = window.__gvisCallbacks =
window.__gvisCallbacks || [];\nvar chartid = \"corechart\";\n \n//
Manually see if chartid is in pkgs (not all browsers support
Array.indexOf)\nvar i, newPackage = true;\nfor (i = 0; newPackage && i
< pkgs.length; i++) {\nif (pkgs[i] === chartid)\nnewPackage =
false;\n}\nif (newPackage)\n pkgs.push(chartid);\n \n// Add the
drawChart function to the global list of
callbacks\ncallbacks.push(drawChartLineChartID28b59a0dbc6);\n})();\nfunction
displayChartLineChartID28b59a0dbc6() {\n var pkgs =
window.__gvisPackages = window.__gvisPackages || [];\n var callbacks
= window.__gvisCallbacks = window.__gvisCallbacks || [];\n
window.clearTimeout(window.__gvisLoad);\n // The timeout is set to
100 because otherwise the container div we are\n // targeting might
not be part of the document yet\n window.__gvisLoad =
setTimeout(function() {\n var pkgCount = pkgs.length;\n
google.load(\"visualization\", \"1\", { packages:pkgs, callback:
function() {\n if (pkgCount != pkgs.length) {\n // Race condition
where another setTimeout call snuck in after us; if\n // that call
added a package, we must not shift its callback\n return;\n}\nwhile
(callbacks.length > 0)\ncallbacks.shift()();\n} });\n}, 100);\n}\n\n//
jsFooter\n</script>\n\n<!-- jsChart --> \n<script
type=\"text/javascript\"
src=\"https://www.google.com/jsapi?callback=displayChartLineChartID28b59a0dbc6\"></script>\n\n<!--
divChart -->\n \n<div id=\"LineChartID28b59a0dbc6\" \n
style=\"width: 600; height: 400;\">\n</div>\n\n<div><span>Data: data
&#8226; Chart ID: <a
href=\"Chart_LineChartID28b59a0dbc6.html\">LineChartID28b59a0dbc6</a>
&#8226; <a href=\"https://github.com/mages/googleVis\">googleVis-0.6.2</a></span><br
/>\n\n<!-- htmlFooter -->\n<span> \n R version 3.4.0 (2017-04-21) \n
&#8226; <a href=\"https://developers.google.com/terms/\">Google Terms
of Use</a> &#8226; <a
href=\"https://google-developers.appspot.com/chart/interactive/docs/gallery/linechart\">Documentation
and Data Policy</a>\n</span></div>\n</body>\n</html>\n"
>> >> >> >> Visualization API <google-visua...@googlegroups.com>
>> >> >> >> >> google-visualizati...@googlegroups.com.
>> >> >> >> >> To post to this group, send email to
>> >> >> >> >> google-visua...@googlegroups.com.
>> >> >> >> >> Visit this group at
>> >> >> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> >> >> To view this discussion on the web visit
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>> >> >> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > Daniel LaLiberte
>> >> >> >> > dlali...@Google.com 5CC, Cambridge MA
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > 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/vwVTbnsKe8E/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
>> >> >> >> > https://groups.google.com/group/google-visualization-api.
>> >> >> >> > To view this discussion on the web visit
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>> >> >> >> >
>> >> >> >> > 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
>> >> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> >> To view this discussion on the web visit
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>> >> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > --
>> >> >> > Daniel LaLiberte
>> >> >> > dlali...@Google.com 5CC, Cambridge MA
>> >> >> >
>> >> >> > --
>> >> >> > 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/vwVTbnsKe8E/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
>> >> >> > https://groups.google.com/group/google-visualization-api.
>> >> >> > To view this discussion on the web visit
>> >> >> >
>> >> >> >
>> >> >> >
>> >> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.
>> >> >> >
>> >> >> > 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
>> >> >> https://groups.google.com/group/google-visualization-api.
>> >> >> To view this discussion on the web visit
>> >> >>
>> >> >>
>> >> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJk7HVnDKhQxmg06QMA-jVd2nFExOuQ1m67Zvex6e3rndA%40mail.gmail.com.
>> >> >> For more options, visit https://groups.google.com/d/optout.
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Daniel LaLiberte
>> >> > dlali...@Google.com 5CC, Cambridge MA
>> >> >
>> >> > --
>> >> > 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/vwVTbnsKe8E/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
>> >> > https://groups.google.com/group/google-visualization-api.
>> >> > To view this discussion on the web visit
>> >> >
>> >> >
>> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%3D%3D03Pdv1iddgNarGqWtWUkMN_v-yUdMfuBg6W_on6UQ%40mail.gmail.com.
>> >> >
>> >> > 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
>> >> https://groups.google.com/group/google-visualization-api.
>> >> To view this discussion on the web visit
>> >>
>> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkGMMge79TgjWLFpuO-1fqbs8KLMexzdYntWuFA56CrMg%40mail.gmail.com.
>> >> For more options, visit https://groups.google.com/d/optout.
>> >
>> >
>> >
>> >
>> > --
>> > Daniel LaLiberte
>> > dlali...@Google.com 5CC, Cambridge MA
>> >
>> > --
>> > 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/vwVTbnsKe8E/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
>> > https://groups.google.com/group/google-visualization-api.
>> > To view this discussion on the web visit
>> >
>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMi3UaYtytqs5LEHLOc0MUOfGGdk6-APLTaYAsd2Us-Cg%40mail.gmail.com.
>> >
>> > 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.
> dlali...@Google.com 5CC, Cambridge MA
>
> --
> 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/vwVTbnsKe8E/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
> https://groups.google.com/group/google-visualization-api.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJM6hEH%2ByAMKMuZP9a9BrdnTMeThTuPr751B4bJ-T0ix9g%40mail.gmail.com.

Christofer Bogaso

unread,
Jul 10, 2017, 12:58:27 PM7/10/17
to google-visua...@googlegroups.com
Any suggestion please?

On Fri, Jul 7, 2017 at 11:29 PM, Christofer Bogaso

Christofer Bogaso

unread,
Jul 18, 2017, 1:27:11 AM7/18/17
to google-visua...@googlegroups.com
Hi Daniel,

Were you able to find any solution of above issue? If not in R, could
you please help with a generic solution on how to put a GoogleVis
chart as tooltip in any GoogleVis plot. I then will try to convert the
codes into R.

Appreciate your feedback. Thanks,

On Mon, Jul 10, 2017 at 10:28 PM, Christofer Bogaso

Daniel LaLiberte

unread,
Jul 18, 2017, 8:39:21 AM7/18/17
to Google Visualization API
There is documentation on how to do this for Google Charts proper at https://developers.google.com/chart/interactive/docs/customizing_tooltip_content#placing-charts-in-tooltips  I hope that will provide enough of a clue for how you might do it in GoogleVis.


>>>> >> >> >> Visualization API <google-visualization-api@googlegroups.com>

>>>> >> >> >> >> To post to this group, send email to

>>>> >> >> >> >> Visit this group at
>>>> >> >> >> >> https://groups.google.com/group/google-visualization-api.
>>>> >> >> >> >> To view this discussion on the web visit
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >>
>>>> >> >> >> >> https://groups.google.com/d/msgid/google-visualization-api/9987cbee-26ef-4639-8b3b-9668ee5b3b60%40googlegroups.com.
>>>> >> >> >> >> For more options, visit https://groups.google.com/d/optout.
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > --
>>>> >> >> >> > Daniel LaLiberte
>>>> >> >> >> > dlali...@Google.com   5CC, Cambridge MA
>>>> >> >> >> >
>>>> >> >> >> > --
>>>> >> >> >> > 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/vwVTbnsKe8E/unsubscribe.
>>>> >> >> >> > To unsubscribe from this group and all its topics, send an
>>>> >> >> >> > email
>>>> >> >> >> > to

>>>> >> >> >> > To post to this group, send email to

>>>> >> >> >> > Visit this group at
>>>> >> >> >> > https://groups.google.com/group/google-visualization-api.
>>>> >> >> >> > To view this discussion on the web visit
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> >
>>>> >> >> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%2BqrO6B%2B03D5f9uhfCn9fwrbQF%2Bg9fDtobQV3DSm-R0w%40mail.gmail.com.
>>>> >> >> >> >
>>>> >> >> >> > 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

>>>> >> >> >> To post to this group, send email to

>>>> >> >> >> Visit this group at
>>>> >> >> >> https://groups.google.com/group/google-visualization-api.
>>>> >> >> >> To view this discussion on the web visit
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >>
>>>> >> >> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkwMxe1jdyZy75nAjqyxHnhQwsAQY_GR%3DAe0b1VxSi1Sg%40mail.gmail.com.
>>>> >> >> >> For more options, visit https://groups.google.com/d/optout.
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > --
>>>> >> >> > Daniel LaLiberte
>>>> >> >> > dlali...@Google.com   5CC, Cambridge MA
>>>> >> >> >
>>>> >> >> > --
>>>> >> >> > 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/vwVTbnsKe8E/unsubscribe.
>>>> >> >> > To unsubscribe from this group and all its topics, send an email
>>>> >> >> > to

>>>> >> >> > To post to this group, send email to

>>>> >> >> > Visit this group at
>>>> >> >> > https://groups.google.com/group/google-visualization-api.
>>>> >> >> > To view this discussion on the web visit
>>>> >> >> >
>>>> >> >> >
>>>> >> >> >
>>>> >> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJNPV5QMeYhaoPuDV9TB3rWvc0FvN6nQ%3Ds9_OqWdrOuAZg%40mail.gmail.com.
>>>> >> >> >
>>>> >> >> > 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

>>>> >> >> To post to this group, send email to

>>>> >> >> Visit this group at
>>>> >> >> https://groups.google.com/group/google-visualization-api.
>>>> >> >> To view this discussion on the web visit
>>>> >> >>
>>>> >> >>
>>>> >> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJk7HVnDKhQxmg06QMA-jVd2nFExOuQ1m67Zvex6e3rndA%40mail.gmail.com.
>>>> >> >> For more options, visit https://groups.google.com/d/optout.
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> >
>>>> >> > --
>>>> >> > Daniel LaLiberte
>>>> >> > dlali...@Google.com   5CC, Cambridge MA
>>>> >> >
>>>> >> > --
>>>> >> > 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/vwVTbnsKe8E/unsubscribe.
>>>> >> > To unsubscribe from this group and all its topics, send an email to

>>>> >> > To post to this group, send email to

>>>> >> > Visit this group at
>>>> >> > https://groups.google.com/group/google-visualization-api.
>>>> >> > To view this discussion on the web visit
>>>> >> >
>>>> >> >
>>>> >> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJP%3D%3D03Pdv1iddgNarGqWtWUkMN_v-yUdMfuBg6W_on6UQ%40mail.gmail.com.
>>>> >> >
>>>> >> > 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

>>>> >> To post to this group, send email to

>>>> >> Visit this group at
>>>> >> https://groups.google.com/group/google-visualization-api.
>>>> >> To view this discussion on the web visit
>>>> >>
>>>> >> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJkGMMge79TgjWLFpuO-1fqbs8KLMexzdYntWuFA56CrMg%40mail.gmail.com.
>>>> >> For more options, visit https://groups.google.com/d/optout.
>>>> >
>>>> >
>>>> >
>>>> >
>>>> > --
>>>> > Daniel LaLiberte
>>>> > dlali...@Google.com   5CC, Cambridge MA
>>>> >
>>>> > --
>>>> > 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/vwVTbnsKe8E/unsubscribe.
>>>> > To unsubscribe from this group and all its topics, send an email to

>>>> > To post to this group, send email to

>>>> > Visit this group at
>>>> > https://groups.google.com/group/google-visualization-api.
>>>> > To view this discussion on the web visit
>>>> >
>>>> > https://groups.google.com/d/msgid/google-visualization-api/CAOtcSJMi3UaYtytqs5LEHLOc0MUOfGGdk6-APLTaYAsd2Us-Cg%40mail.gmail.com.
>>>> >
>>>> > 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

>>>> To post to this group, send email to

>>>> Visit this group at
>>>> https://groups.google.com/group/google-visualization-api.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/google-visualization-api/CA%2BdpOJm5X61h6tDUNayACOTjOvHZRzqCLoO06X9MaFzakg76wA%40mail.gmail.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>>
>>> --
>>> Daniel LaLiberte
>>> dlali...@Google.com   5CC, Cambridge MA
>>>
>>> --
>>> 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/vwVTbnsKe8E/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to

>>> To post to this group, send email to
--
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.
To post to this group, send email to google-visualization-api@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.



--
Reply all
Reply to author
Forward
0 new messages