googleVis
googleVis copied to clipboard
When open gvisTimeline in Chrome it does open in full size
I have an issue only with Chrome (I also tested it on different computers) with a gvisTimeline graph.
When I open it in Chrome the size is really small and it can be fixed only by reloading the browser.
I can’t reproduce your problem. The examples of the help page work fine for me.
On 22 Jan 2017, at 18:34, EnricowithR [email protected] wrote:
I have an issue only with Chrome (I also tested it on different computers) with a gvisTimeline graph.
When I open it in Chrome the size is really small and it can be fixed only by reloading the browser.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mages/googleVis/issues/53, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF-1Qti0Cy-gMjhZa35SHm3MnHu8lCHks5rU6E0gaJpZM4LqdgX.
Here below you have a reproducible example. It seems that it happens in Flexdashboard when the gvisTimeline graph is not at the first tab, like in the following code:
title: "Test gvisTimeline" output: flexdashboard::flex_dashboard: theme: cosmo orientation: rows vertical_layout: scroll
knitr::opts_chunk$set(
echo = FALSE,
message = FALSE,
warning = FALSE
)
library(googleVis)
datTL <- data.frame(Position=c(rep("President", 3), rep("Vice", 3)),
Name=c("Washington", "Adams", "Jefferson",
"Adams", "Jefferson", "Burr"),
start=as.Date(x=rep(c("1789-03-01", "1797-02-01",
"1801-02-01"),2)),
end=as.Date(x=rep(c("1797-02-03", "1801-02-03",
"1809-02-03"),2)))
Timeline <- gvisTimeline(data=datTL,
rowlabel="Name",
barlabel="Position",
start="start",
end="end",
options=list(timeline="{groupByRowLabel:true}",
backgroundColor='#ffd',
height=350,
colors="['#cbb69d', '#603913',
'#c69c6e']"))
Empy Test page
Time-line
r noquote("The grah below is the one that in Chrome does not open properly, unless the page is reloaded from the browser")
print(Timeline, 'chart')
SessionInfo
sessionInfo()
And these are the details from by sessionInfo:
R version 3.3.2 (2016-10-31) Platform: x86_64-apple-darwin13.4.0 (64-bit) Running under: OS X El Capitan 10.11.6
locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] googleVis_0.6.2
2017-01-23 9:53 GMT+01:00 Markus Gesmann [email protected]:
I can’t reproduce your problem. The examples of the help page work fine for me.
On 22 Jan 2017, at 18:34, EnricowithR [email protected] wrote:
I have an issue only with Chrome (I also tested it on different computers) with a gvisTimeline graph.
When I open it in Chrome the size is really small and it can be fixed only by reloading the browser.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub < https://github.com/mages/googleVis/issues/53>, or mute the thread < https://github.com/notifications/unsubscribe-auth/ABF-1Qti0Cy- gMjhZa35SHm3MnHu8lCHks5rU6E0gaJpZM4LqdgX>.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mages/googleVis/issues/53#issuecomment-274430876, or mute the thread https://github.com/notifications/unsubscribe-auth/AQOZZiIiaueI_BHHFjtn4mBcpCkma0RTks5rVGqFgaJpZM4LqdgX .
Again, your code works fine for me. Only difference is that I am on macOS Sierra.
did you use it within the flexdashboard package? The image attached seems to be a normal rmarkdown file and not a flexdashboard page.
The same issue happens also on a windows computer
2017-01-25 13:47 GMT+01:00 Markus Gesmann [email protected]:
Again, your code works fine for me. Only difference is that I am on macOS Sierra.
[image: screenshot] https://cloud.githubusercontent.com/assets/1146581/22291044/2eee72a8-e2fc-11e6-97c5-c6d7b3a9cb0c.png
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mages/googleVis/issues/53#issuecomment-275099637, or mute the thread https://github.com/notifications/unsubscribe-auth/AQOZZvB8jjyd5Je5W4MDmdP-yZ8H0fStks5rV0RhgaJpZM4LqdgX .
I used the flexdashboard template in RStudio, if that's what you mean.
-- Markus Gesmann Blog: http://www.magesblog.com
On 25 Jan 2017, at 13:04, EnricowithR [email protected] wrote:
flexdashboard
In the code that I attached before it was included the part to create the flexdashboard, exactly as I did on my Rstudio
2017-01-25 14:18 GMT+01:00 Markus Gesmann [email protected]:
I used the flexdashboard template in RStudio, if that's what you mean.
-- Markus Gesmann Blog: http://www.magesblog.com
On 25 Jan 2017, at 13:04, EnricowithR [email protected] wrote:
flexdashboard
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mages/googleVis/issues/53#issuecomment-275105485, or mute the thread https://github.com/notifications/unsubscribe-auth/AQOZZuwWks8ovzm-i-pQkM8utZmW7YQWks5rV0uxgaJpZM4LqdgX .
I am sorry that I can’t help you here. Perhaps, the guys at RStudio can assist?
On 25 Jan 2017, at 13:28, EnricowithR [email protected] wrote:
In the code that I attached before it was included the part to create the flexdashboard, exactly as I did on my Rstudio
2017-01-25 14:18 GMT+01:00 Markus Gesmann [email protected]:
I used the flexdashboard template in RStudio, if that's what you mean.
-- Markus Gesmann Blog: http://www.magesblog.com
On 25 Jan 2017, at 13:04, EnricowithR [email protected] wrote:
flexdashboard
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mages/googleVis/issues/53#issuecomment-275105485, or mute the thread https://github.com/notifications/unsubscribe-auth/AQOZZuwWks8ovzm-i-pQkM8utZmW7YQWks5rV0uxgaJpZM4LqdgX .
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/mages/googleVis/issues/53#issuecomment-275107487, or mute the thread https://github.com/notifications/unsubscribe-auth/ABF-1Wkt4qYK4xIFmoX58r4wKDid4mBzks5rV037gaJpZM4LqdgX.