{"action":"created","issue":{"url":"https://api.github.com/repos/davidgohel/ggiraph/issues/74","repository_url":"https://api.github.com/repos/davidgohel/ggiraph","labels_url":"https://api.github.com/repos/davidgohel/ggiraph/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/davidgohel/ggiraph/issues/74/comments","events_url":"https://api.github.com/repos/davidgohel/ggiraph/issues/74/events","html_url":"https://github.com/davidgohel/ggiraph/issues/74","id":259082812,"number":74,"title":"Very small ggiraph plots when opening shiny app in browser","user":{"login":"antuki","id":24737176,"avatar_url":"https://avatars0.githubusercontent.com/u/24737176?v=4","gravatar_id":"","url":"https://api.github.com/users/antuki","html_url":"https://github.com/antuki","followers_url":"https://api.github.com/users/antuki/followers","following_url":"https://api.github.com/users/antuki/following{/other_user}","gists_url":"https://api.github.com/users/antuki/gists{/gist_id}","starred_url":"https://api.github.com/users/antuki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/antuki/subscriptions","organizations_url":"https://api.github.com/users/antuki/orgs","repos_url":"https://api.github.com/users/antuki/repos","events_url":"https://api.github.com/users/antuki/events{/privacy}","received_events_url":"https://api.github.com/users/antuki/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-09-20T08:32:54Z","updated_at":"2017-09-21T10:56:39Z","closed_at":null,"author_association":"NONE","body":"Hello, \r\n\r\nI'm developping a shiny app with ggiraph plots inside and i've noticed that when i'm opening the shiny app in browser, the ggiraph plots are very very very small. I can't understand why and didn't succeed in making them bigger... \r\n\r\nDo you have a solution for me ? \r\n\r\nI reproduced a simple example and made screen shots. Hope it will help\r\n\r\nThanks a lot...\r\n\r\n\r\n```\r\nlibrary(shiny)\r\nlibrary(ggiraph)\r\n\r\nshinyApp(\r\n  ui = fluidPage(\r\n    sidebarLayout(\r\n      sidebarPanel(width=3,\r\n                   h6(\"Hello\")\r\n      ),\r\n      mainPanel(width=9,\r\n                tabsetPanel(\r\n                  tabPanel(\"PLOT\",\r\n                           ggiraphOutput(\"plot\",width = \"100%\", height = \"100%\")\r\n                  )\r\n                )\r\n      )\r\n    )\r\n  ),\r\n  server = function(input, output, session) { \r\n    my_gg <- ggplot(mpg, aes( x = displ, y = cty, color = hwy) ) + geom_point_interactive(aes(tooltip = model), size = 2) \r\n    output$plot <- renderggiraph({\r\n     ggiraph(code = print(my_gg))\r\n     })  \r\n  }\r\n)\r\n```\r\n\r\n```\r\n> sessionInfo()\r\nR version 3.3.2 (2016-10-31)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\nRunning under: Windows 7 x64 (build 7601) Service Pack 1\r\n\r\nlocale:\r\n[1] LC_COLLATE=French_France.1252  LC_CTYPE=French_France.1252    LC_MONETARY=French_France.1252\r\n[4] LC_NUMERIC=C                   LC_TIME=French_France.1252    \r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n [1] gdtools_0.1.6   bindrcpp_0.2    ggiraph_0.4.1   dplyr_0.7.2     purrr_0.2.3     readr_1.1.1    \r\n [7] tidyr_0.7.1     tibble_1.3.4    ggplot2_2.2.1   tidyverse_1.1.1 haven_1.1.0     shiny_1.0.5    \r\n\r\nloaded via a namespace (and not attached):\r\n [1] reshape2_1.4.2    lattice_0.20-34   colorspace_1.3-2  htmltools_0.3.6   yaml_2.1.14      \r\n [6] base64enc_0.1-3   rlang_0.1.2       R.oo_1.21.0       R.utils_2.5.0     foreign_0.8-67   \r\n[11] glue_1.1.1        uuid_0.1-2        modelr_0.1.1      readxl_1.0.0      bindr_0.1        \r\n[16] plyr_1.8.4        stringr_1.2.0     munsell_0.4.3     gtable_0.2.0      cellranger_1.1.0 \r\n[21] zip_1.0.0         R.methodsS3_1.7.1 rvest_0.3.2       htmlwidgets_0.9   psych_1.7.5      \r\n[26] labeling_0.3      forcats_0.2.0     httpuv_1.3.5      parallel_3.3.2    broom_0.4.2      \r\n[31] Rcpp_0.12.12      xtable_1.8-2      DT_0.2            scales_0.5.0      jsonlite_1.5     \r\n[36] mime_0.5          mnormt_1.5-5      hms_0.3           digest_0.6.12     stringi_1.1.5    \r\n[41] grid_3.3.2        tools_3.3.2       magrittr_1.5      lazyeval_0.2.0    pkgconfig_2.0.1  \r\n[46] xml2_1.1.1        rvg_0.1.5         lubridate_1.6.0   assertthat_0.2.0  httr_1.3.1       \r\n[51] officer_0.1.6     R6_2.2.2          nlme_3.1-128\r\n```\r\n\r\nScreen shot out of browser (Rstudio) : \r\n![not_in_browser](https://user-images.githubusercontent.com/24737176/30634171-7e59652a-9dee-11e7-9e35-6b0b1d2bced8.png)\r\n\r\nScreen shot in browser (I.E) : \r\n![in_browser](https://user-images.githubusercontent.com/24737176/30634166-79fc42fe-9dee-11e7-91e3-66f952240153.png)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/davidgohel/ggiraph/issues/comments/331123095","html_url":"https://github.com/davidgohel/ggiraph/issues/74#issuecomment-331123095","issue_url":"https://api.github.com/repos/davidgohel/ggiraph/issues/74","id":331123095,"user":{"login":"davidgohel","id":4331618,"avatar_url":"https://avatars3.githubusercontent.com/u/4331618?v=4","gravatar_id":"","url":"https://api.github.com/users/davidgohel","html_url":"https://github.com/davidgohel","followers_url":"https://api.github.com/users/davidgohel/followers","following_url":"https://api.github.com/users/davidgohel/following{/other_user}","gists_url":"https://api.github.com/users/davidgohel/gists{/gist_id}","starred_url":"https://api.github.com/users/davidgohel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidgohel/subscriptions","organizations_url":"https://api.github.com/users/davidgohel/orgs","repos_url":"https://api.github.com/users/davidgohel/repos","events_url":"https://api.github.com/users/davidgohel/events{/privacy}","received_events_url":"https://api.github.com/users/davidgohel/received_events","type":"User","site_admin":false},"created_at":"2017-09-21T10:56:39Z","updated_at":"2017-09-21T10:56:39Z","author_association":"OWNER","body":"I will try to fix that when I will understand what is going on in IE11"}}
{"actor":{"display_login":"davidgohel"}}