Categories
- All Categories
- 15 Oracle Analytics Sharing Center
- 15 Oracle Analytics Lounge
- 208 Oracle Analytics News
- 41 Oracle Analytics Videos
- 15.7K Oracle Analytics Forums
- 6.1K Oracle Analytics Idea Labs
- Oracle Analytics User Groups
- 76 Oracle Analytics Trainings
- 14 Oracle Analytics Data Visualizations Challenge
- Find Partners
- For Partners
SVG support

Summary
SVG support
Content
Hi all,
I am trying to embed an SVG into the generated document. With the following code, I am able to export the svg in PDF
<fo:instream-foreign-object content-type="image/svg+xml" width="12pt" height="12pt">
<svg width="12.0pt" height="12.6pt">
<g xdofo:shape-id="3">
<ellipse rx="6.0" ry="6.0" cx="6.0" cy="6.0" fill="#050505"/>
</g>
</svg>
</fo:instream-foreign-object>
But the same does not work in HTML or Excel. Is there something that I can do to make this work in HTML and Export?
Thanks
Anoop
Answers
-
I tried in chrome, firefox and ie, none of them is displaying the circle.
In the log, I can see the following message
SEVERE: html-image-dir property is required to generate svg file. This result does not contain svg object
If we set this option, the an svg file will be generated in the specified directory
Does this mean the svg has to be generated separately as a file and referenced from HTML?Is there any way I can embed the svg image directly to the html?
SEVERE: html-image-dir property is required to generate svg file. This result does not contain svg object.
0 -
I am able to se the circle in pdf and in html-output.
Which browser are you using? Not every browser got a svg parser so you might have to download an add-on.
0