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.
On Fri, Jul 7, 2017 at 1:47 PM, Christofer Bogaso < [email protected]> wrote: > 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? > > On Fri, Jul 7, 2017 at 11:11 PM, 'Daniel LaLiberte' via Google > Visualization API <[email protected]> wrote: > > 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? > > > > > > On Fri, Jul 7, 2017 at 1:35 PM, Christofer Bogaso > > <[email protected]> wrote: > >> > >> 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 > >> > >> On Fri, Jul 7, 2017 at 11:03 PM, 'Daniel LaLiberte' via Google > >> Visualization API <[email protected]> wrote: > >> > Point us at the web page that demonstrates the problem, not the error, > >> > but > >> > the page that results in the error. > >> > > >> > On Fri, Jul 7, 2017 at 1:28 PM, Christofer Bogaso > >> > <[email protected]> wrote: > >> >> > >> >> 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. > >> >> > >> >> On Fri, Jul 7, 2017 at 9:59 PM, 'Daniel LaLiberte' via Google > >> >> Visualization API <[email protected]> wrote: > >> >> > 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. > >> >> > > >> >> > On Fri, Jul 7, 2017 at 12:10 PM, Christofer Bogaso > >> >> > <[email protected]> wrote: > >> >> >> > >> >> >> Hi Daniel, attaching a snapshot and html file that GoogleVis is > >> >> >> generating. > >> >> >> > >> >> >> Let me know if anything else required. Thanks, > >> >> >> > >> >> >> On Fri, Jul 7, 2017 at 5:35 PM, 'Daniel LaLiberte' via Google > >> >> >> Visualization API <[email protected]> > wrote: > >> >> >> > 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. > >> >> >> > > >> >> >> > On Fri, Jul 7, 2017 at 5:08 AM, Christofer Bogaso > >> >> >> > <[email protected]> wrote: > >> >> >> >> > >> >> >> >> 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, > >> >> >> >> > >> >> >> >> -- > >> >> >> >> 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 [email protected] > . > >> >> >> >> To post to this group, send email to > >> >> >> >> [email protected]. > >> >> >> >> 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 > >> >> >> > [email protected] 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 > >> >> >> > [email protected]. > >> >> >> > To post to this group, send email to > >> >> >> > [email protected]. > >> >> >> > 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 [email protected]. > >> >> >> To post to this group, send email to > >> >> >> [email protected]. > >> >> >> 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 > >> >> > [email protected] 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 > >> >> > [email protected]. > >> >> > To post to this group, send email to > >> >> > [email protected]. > >> >> > 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 [email protected]. > >> >> To post to this group, send email to > >> >> [email protected]. > >> >> 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 > >> > [email protected] 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 > >> > [email protected]. > >> > To post to this group, send email to > >> > [email protected]. > >> > 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 [email protected]. > >> To post to this group, send email to > >> [email protected]. > >> 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 > > [email protected] 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 > > [email protected]. > > To post to this group, send email to > > [email protected]. > > 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 [email protected]. > 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/CA%2BdpOJm5X61h6tDUNayACOTjOvHZRz > qCLoO06X9MaFzakg76wA%40mail.gmail.com. > For more options, visit https://groups.google.com/d/optout. > -- Daniel LaLiberte <https://plus.google.com/100631381223468223275?prsrc=2> [email protected] <[email protected]> 5CC, Cambridge MA -- 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 [email protected]. To post to this group, send email to [email protected]. 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. For more options, visit https://groups.google.com/d/optout.
