【问题标题】:Draw an image on web site at the end of the script在脚本末尾的网站上绘制图像
【发布时间】:2013-11-10 17:28:32
【问题描述】:

我有一个小问题。在我的 R 脚本结束时,我创建了一个图像 .png 作为输出。我想在我的网站上展示这张图片,但有时它会被绘制,有时它不会被绘制。我不明白这怎么可能。我会放上我的代码:

我将图像插入到具有以下功能的 div 中:

#diagramm {
    position: relative;
    border: 2px solid #333;
    border-color: #6495ED;
    width: 820px;
    height: 370px;
    margin: 2px auto;
    margin-top: 2em;
    background-image: url("/home/daniele/public_html/appweb2013/venn_final/fungo_final.png");
}

错在哪里?我可以使用更好的方法吗?

【问题讨论】:

    标签: php html css image web


    【解决方案1】:

    这是 CSS,它只为具有 id 图表的元素设置特定的设计规则。

    所以你发布的不是代码。

    您以什么方式生成输出?什么时候?用户做了什么来生成它等等。 你有任何可以显示的 javascript 或 html 代码吗?

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-03-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-07-07
      相关资源
      最近更新 更多