Static SVG in Report

kosta
edited February 11, 2022 in Analytics #1
<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>
Warning No formatter is installed for the format ipb

Comments