A red circle image is defined as follows:and saved as png
<svg width="100" height="100">
<circle cx="50" cy="50" r="10" stroke-width="4" fill="red" />
</svg>On Fri, Feb 12, 2016 at 8:04 AM, Ranaivoson Herimanitra <airma...@gmail.com> wrote:I manually change extension to .svg. Images don't render anymore (both in RStudio and in the browser)On Thu, Feb 11, 2016 at 10:45 PM, Joe Cheng <j...@rstudio.com> wrote:Can you just use an .svg extension instead? I'd expect that to work. Though the contents shouldn't be the whole html page, just the svg data.On Thu, Feb 11, 2016 at 3:11 AM Ranaivoson Herimanitra <airma...@gmail.com> wrote:First of all, I wanted tags$svg() to display custom legend and discovered that It is not available in shiny so I wrote an htmlwith svg tag then I noticed that I can change the html extension into png extension. That's the story :)On Thu, Feb 11, 2016 at 12:45 PM, Joe Cheng <j...@rstudio.com> wrote:Interesting. Why are you storing svg images with a png extension?
--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/a4efe829-b64f-4827-8e96-1a19eb373241%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.