pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

    <bdo id='bVDjf'></bdo><ul id='bVDjf'></ul>

<tfoot id='bVDjf'></tfoot>

  1. <i id='bVDjf'><tr id='bVDjf'><dt id='bVDjf'><q id='bVDjf'><span id='bVDjf'><b id='bVDjf'><form id='bVDjf'><ins id='bVDjf'></ins><ul id='bVDjf'></ul><sub id='bVDjf'></sub></form><legend id='bVDjf'></legend><bdo id='bVDjf'><pre id='bVDjf'><center id='bVDjf'></center></pre></bdo></b><th id='bVDjf'></th></span></q></dt></tr></i><div class="a3vgau2" id='bVDjf'><tfoot id='bVDjf'></tfoot><dl id='bVDjf'><fieldset id='bVDjf'></fieldset></dl></div>

  2. <legend id='bVDjf'><style id='bVDjf'><dir id='bVDjf'><q id='bVDjf'></q></dir></style></legend>

  3. <small id='bVDjf'></small><noframes id='bVDjf'>

    1. 如何更改 rmarkdown 單元格中的 css &amp;閃亮的

      How to change css in rmarkdown cell amp; shiny?(如何更改 rmarkdown 單元格中的 css amp;閃亮的?)

      <legend id='ug1h0'><style id='ug1h0'><dir id='ug1h0'><q id='ug1h0'></q></dir></style></legend>
          <tbody id='ug1h0'></tbody>
      • <i id='ug1h0'><tr id='ug1h0'><dt id='ug1h0'><q id='ug1h0'><span id='ug1h0'><b id='ug1h0'><form id='ug1h0'><ins id='ug1h0'></ins><ul id='ug1h0'></ul><sub id='ug1h0'></sub></form><legend id='ug1h0'></legend><bdo id='ug1h0'><pre id='ug1h0'><center id='ug1h0'></center></pre></bdo></b><th id='ug1h0'></th></span></q></dt></tr></i><div class="szju8j2" id='ug1h0'><tfoot id='ug1h0'></tfoot><dl id='ug1h0'><fieldset id='ug1h0'></fieldset></dl></div>

        • <bdo id='ug1h0'></bdo><ul id='ug1h0'></ul>
        • <tfoot id='ug1h0'></tfoot>

            1. <small id='ug1h0'></small><noframes id='ug1h0'>

                本文介紹了如何更改 rmarkdown 單元格中的 css &amp;閃亮的?的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                問題描述

                我在 r 中相對較新,并創(chuàng)建 傳單圖 我需要 白色背景 而不是 灰色>.

                I am relatively new in r and creating leaflet plot for which I need a white background instead of grey.

                我遇到了同樣的 SO 帖子:blank, 傳單地圖的白色背景 &試過了:

                I came across this SO post for same: blank, white background for leaflet map & tried:

                劇情代碼:

                daily_leaflet_plt <- ind_states %>% leaflet(options = leafletOptions(zoomControl = FALSE,
                                                                dragging = FALSE,
                                                                minZoom = 3,
                                                                style = list(
                                                                  "background-color" = "white"
                                                                )
                                                                )) %>%
                          
                          addPolygons(
                                      label = label_daily,
                                      labelOptions = labelOptions(
                                        opacity = .6,
                                        style = list(
                                            "color" = "white",
                                            "background-color" = "black",
                                            "font-size" = "15px",
                                            "border-color" = "rgba(0,0,0,0.5)"
                                        )
                                      ),
                                      stroke = TRUE,
                                      color = "white",
                                      dashArray = "3",
                                      weight = .2,
                                      smoothFactor = .5,
                                      opacity = 1,
                                      fillOpacity = 0.5,
                                      fillColor = ~ pal_daily(Daily_confirmed),
                                      highlightOptions = highlightOptions(weight = .5,
                                                                          fillOpacity = 1,
                                                                          bringToFront = TRUE)) %>%
                
                          addLegend(position = "bottomleft",
                                    pal = pal_daily,
                                    values = ~ ind_states$Daily_confirmed,
                                    title = "Daily Confirmed Cases",
                                    opacity = 0.7)
                

                按照 SO 帖子的 css:

                ```{r results="daily_leaflet_plt"}
                cat("
                <style>
                .leaflet-container {
                    background: #FFF;
                }
                </style>
                ")
                ```
                

                但這不起作用,如何在 rmarkdown & 中的傳單 plt 中獲得白色背景空間閃亮,最終我將在閃亮中使用它.

                But this doesn't work, How can I get white background space in leaflet plt in rmarkdown & shiny as eventually I will be using this in shiny.

                我也在另一篇 SO 帖子中提出了這一點(diǎn),該帖子的措辭不同 &仍未得到答復(fù):如何更改r中多邊形形狀周圍的傳單地圖顏色?

                I have also raised this in another SO post which is phrased differently & remains unanswered: How to change color of leaflet map around the polygon shape in r?

                推薦答案

                我認(rèn)為您的 CSS 選擇器是正確的,但我個人認(rèn)為以典型的 Shiny 方式指定它更容易,即,

                I think your CSS selector is correct, but I'd personally find it easier to just specify that in the typical Shiny way, i.e.,

                library(shiny)
                library(leaflet)
                
                ui <- fluidPage(
                    tags$head(tags$style(HTML(".leaflet-container {background: none;}")))
                    leafletOutput("map")
                )
                
                server <- function(input, output, session) {
                    output$map <- renderLeaflet({
                        leaflet(quakes) %>%
                            addTiles()
                     })
                }
                
                shinyApp(ui, server)
                

                對于 R markdown,您可以像嵌入 R 代碼塊一樣嵌入 CSS 代碼塊,例如,

                For R markdown, you can embed a CSS code chunk as you would an R code chunk, e.g.,

                ```{css, echo = FALSE}
                .leaflet-container {
                    background: none;
                }
                ```
                
                
                ```{r}
                library(leaflet)
                
                leaflet(quakes) %>%
                    addTiles()
                ```
                

                這篇關(guān)于如何更改 rmarkdown 單元格中的 css &amp;閃亮的?的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請聯(lián)系我們刪除處理,感謝您的支持!

                相關(guān)文檔推薦

                Check if a polygon point is inside another in leaflet(檢查一個多邊形點(diǎn)是否在傳單中的另一個內(nèi)部)
                Changing leaflet markercluster icon color, inheriting the rest of the default CSS properties(更改傳單標(biāo)記群集圖標(biāo)顏色,繼承其余默認(rèn) CSS 屬性)
                Trigger click on leaflet marker(觸發(fā)點(diǎn)擊傳單標(biāo)記)
                How can I change the default loading tile color in LeafletJS?(如何更改 LeafletJS 中的默認(rèn)加載磁貼顏色?)
                Adding Leaflet layer control to sidebar(將 Leaflet 圖層控件添加到側(cè)邊欄)
                Leaflet - get latitude and longitude of a marker inside a pop-up(Leaflet - 在彈出窗口中獲取標(biāo)記的緯度和經(jīng)度)
                  <i id='PWtOJ'><tr id='PWtOJ'><dt id='PWtOJ'><q id='PWtOJ'><span id='PWtOJ'><b id='PWtOJ'><form id='PWtOJ'><ins id='PWtOJ'></ins><ul id='PWtOJ'></ul><sub id='PWtOJ'></sub></form><legend id='PWtOJ'></legend><bdo id='PWtOJ'><pre id='PWtOJ'><center id='PWtOJ'></center></pre></bdo></b><th id='PWtOJ'></th></span></q></dt></tr></i><div class="t8dyezt" id='PWtOJ'><tfoot id='PWtOJ'></tfoot><dl id='PWtOJ'><fieldset id='PWtOJ'></fieldset></dl></div>
                    <tbody id='PWtOJ'></tbody>

                      <small id='PWtOJ'></small><noframes id='PWtOJ'>

                      <legend id='PWtOJ'><style id='PWtOJ'><dir id='PWtOJ'><q id='PWtOJ'></q></dir></style></legend>

                      <tfoot id='PWtOJ'></tfoot>
                        <bdo id='PWtOJ'></bdo><ul id='PWtOJ'></ul>

                        • 主站蜘蛛池模板: 塑料瓶罐_食品塑料瓶_保健品塑料瓶_调味品塑料瓶–东莞市富慷塑料制品有限公司 | 深圳货架厂_仓库货架公司_重型仓储货架_线棒货架批发-深圳市诺普泰仓储设备有限公司 | 上海洗地机-洗地机厂家-全自动洗地机-手推式洗地机-上海滢皓洗地机 | 冷藏车-东风吸污车-纯电动环卫车-污水净化车-应急特勤保障车-程力专汽厂家-程力专用汽车股份有限公司销售二十一分公司 | 有福网(yofus.com)洗照片冲印,毕业聚会纪念册相册制作个性DIY平台 | 大学食堂装修设计_公司餐厅效果图_工厂食堂改造_迈普装饰 | 北京办公室装修,办公室设计,写字楼装修-北京金视觉装饰工程公司 北京成考网-北京成人高考网 | 包塑软管|金属软管|包塑金属软管-闵彬管业 | 新能源汽车电池软连接,铜铝复合膜柔性连接,电力母排-容发智能科技(无锡)有限公司 | 云南成人高考_云南成考网| 工业PH计|工业ph酸度计|在线PH计价格-合肥卓尔仪器仪表有限公司 济南画室培训-美术高考培训-山东艺霖艺术培训画室 | 东莞螺丝|东莞螺丝厂|东莞不锈钢螺丝|东莞组合螺丝|东莞精密螺丝厂家-东莞利浩五金专业紧固件厂家 | 昆山新莱洁净应用材料股份有限公司-卫生级蝶阀,无菌取样阀,不锈钢隔膜阀,换向阀,离心泵 | 深圳高新投三江工业消防解决方案提供厂家_服务商_园区智慧消防_储能消防解决方案服务商_高新投三江 | 快速卷帘门_硬质快速卷帘门-西朗门业 | 污水/卧式/潜水/钻井/矿用/大型/小型/泥浆泵,价格,参数,型号,厂家 - 安平县鼎千泵业制造厂 | 民用音响-拉杆音响-家用音响-ktv专用音响-万昌科技 | 脱硫搅拌器厂家-淄博友胜不锈钢搅拌器厂家 | 重庆网站建设,重庆网站设计,重庆网站制作,重庆seo,重庆做网站,重庆seo,重庆公众号运营,重庆小程序开发 | 华溶溶出仪-Memmert稳定箱-上海协烁仪器科技有限公司 | 游泳池设备安装工程_恒温泳池设备_儿童游泳池设备厂家_游泳池水处理设备-东莞市君达泳池设备有限公司 | 纯化水设备-EDI-制药-实验室-二级反渗透-高纯水|超纯水设备 | 深圳快餐店设计-餐饮设计公司-餐饮空间品牌全案设计-深圳市勤蜂装饰工程 | 合金ICP光谱仪(磁性材料,工业废水)-百科 | 临沂招聘网_人才市场_招聘信息_求职招聘找工作请认准【马头商标】 | 世界箱包品牌十大排名,女包小众轻奢品牌推荐200元左右,男包十大奢侈品牌排行榜双肩,学生拉杆箱什么品牌好质量好 - Gouwu3.com | 罗茨真空机组,立式无油往复真空泵,2BV水环真空泵-力侨真空科技 | 广州冷却塔维修厂家_冷却塔修理_凉水塔风机电机填料抢修-广东康明节能空调有限公司 | 北京模型公司-工业模型-地产模型-施工模型-北京渝峰时代沙盘模型制作公司 | 压装机-卧式轴承轮轴数控伺服压装机厂家[铭泽机械] | 3D全息投影_地面互动投影_360度立体投影_水幕灯光秀 | 广东银虎 蜂窝块状沸石分子筛-吸附脱硫分子筛-萍乡市捷龙环保科技有限公司 | 旅游规划_旅游策划_乡村旅游规划_景区规划设计_旅游规划设计公司-北京绿道联合旅游规划设计有限公司 | 电镀标牌_电铸标牌_金属标贴_不锈钢标牌厂家_深圳市宝利丰精密科技有限公司 | 土壤检测仪器_行星式球磨仪_土壤团粒分析仪厂家_山东莱恩德智能科技有限公司 | 哈希PC1R1A,哈希CA9300,哈希SC4500-上海鑫嵩实业有限公司 | 铝箔袋,铝箔袋厂家,东莞铝箔袋,防静电铝箔袋,防静电屏蔽袋,防静电真空袋,真空袋-东莞铭晋让您的产品与众不同 | 碳化硅,氮化硅,冰晶石,绢云母,氟化铝,白刚玉,棕刚玉,石墨,铝粉,铁粉,金属硅粉,金属铝粉,氧化铝粉,硅微粉,蓝晶石,红柱石,莫来石,粉煤灰,三聚磷酸钠,六偏磷酸钠,硫酸镁-皓泉新材料 | 恒温恒湿箱(药品/保健品/食品/半导体/细菌)-兰贝石(北京)科技有限公司 | 圆窗水平仪|伊莉莎冈特elesa+ganter | 合肥抖音SEO网站优化-网站建设-网络推广营销公司-百度爱采购-安徽企匠科技 | 湖南长沙商标注册专利申请,长沙公司注册代理记账首选美创! |