Static SVG in Report
Options
<p>Hello BIRT community,</p>
<p> </p>
<p>for example I have some SVG like:</p>
<pre class="_prettyXprint _lang-html _linenums:1">
<!DOCTYPE html>
<html>
<body><h1>My first SVG</h1>
<svg width="100" height="100">
<circle cx="0" cy="0" r="40" stroke="green" stroke-width="4" fill="yellow" /> Sorry, your browser does not support inline SVG.
</svg>
</body>
</html>
</pre>
<p>How can I use this piece of code to create an image in PFD via BIRT Report Designer. I am using BIRT 4.3.</p>
<p> </p>
<p>I have tried following report items:</p>
<ol><li>Text Item as HTML - doesn't allows inline SVG. </li>
<li>Image Item - couldn't find the resource. It seems here only files via file path can be bound. </li>
</ol><p>Acctually I thought that this task is an easy one since HTML is allowed in the text items but SVG is not known or is forbidden on purpose.</p>
<p> </p>
<p>Thanks for any suggestions and hints.</p>
<p> </p>
<p>Best Regards,</p>
<p>Kosta</p>
<p> </p>
<p>for example I have some SVG like:</p>
<pre class="_prettyXprint _lang-html _linenums:1">
<!DOCTYPE html>
<html>
<body><h1>My first SVG</h1>
<svg width="100" height="100">
<circle cx="0" cy="0" r="40" stroke="green" stroke-width="4" fill="yellow" /> Sorry, your browser does not support inline SVG.
</svg>
</body>
</html>
</pre>
<p>How can I use this piece of code to create an image in PFD via BIRT Report Designer. I am using BIRT 4.3.</p>
<p> </p>
<p>I have tried following report items:</p>
<ol><li>Text Item as HTML - doesn't allows inline SVG. </li>
<li>Image Item - couldn't find the resource. It seems here only files via file path can be bound. </li>
</ol><p>Acctually I thought that this task is an easy one since HTML is allowed in the text items but SVG is not known or is forbidden on purpose.</p>
<p> </p>
<p>Thanks for any suggestions and hints.</p>
<p> </p>
<p>Best Regards,</p>
<p>Kosta</p>
Warning
No formatter is installed for the format ipb
0
Comments
-
<p>Take a look at this devshare on adding dynamic svg graphics to a report: <a data-ipb='nomediaparse' href='http://developer.actuate.com/community/forum/index.php?/files/file/904-adding-dynamic-svg-graphics/'>http://developer.actuate.com/community/forum/index.php?/files/file/904-adding-dynamic-svg-graphics/</a></p>
Warning No formatter is installed for the format ipb0
Categories
- All Categories
- 111 Developer Announcements
- 49 Articles
- 103 General Questions
- 123 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 123 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 1 XM Fax