Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
birt report issue
Migrateduser
hello all,
i am having a fairly simple issue (i believe) with trying to display a birt graph is a location on my page but my graph keeps shifting to the next line of my page.....
let me try to explain:
i have created an application that dynamically displays an up to the minute graph within my application using struts. I use java to build the graph, then i call it from the jsp.
so in my jsp i have the following code:
<div id="portlet2" class="portlet2">
<birt:report
id="reportDash"
reportDesign="smallChart.rptdesign"
isHostPage="false"
position="relative"
reportContainer="div"
scrolling="no"
height="250"
style="display:block
width="444"
format="html">
</birt:report>
</div>
after running my application in IE and viewing the source code i get the following:
<div id="portlet2" class="portlet2">
<div class="stylereportDash_0">
<table cellpadding="0" rules="none" border="0" style="empty-cells: show; width:6in; overflow: hidden; table-layout:fixed;">
<col></col>
<tr>
<td></td>
</tr>
<tr>
<td valign="top">
<div>
<img id="birtGraph" src="/reportApp/preview?__sessionId=20145103_107356_323&__imageid=custom456dc923c00d4a3d82.png" alt="" style=" width: 325pt; height: 200pt;display: block;"></img>
</div>
</td>
</tr>
<tr>
<td></td>
</tr>
</table>
</div>
</div>
now to the question... its fairly straight forward (i hope...). If you look, the report viewer generates its own DIV ( class: stylereportDash_0)... within that DIV it also creates a table. What i would like to do is alter the "width" and "table-layout" properties on this table using java.. is anyone aware of how to achieve this? ive looked everywhere for examples, and played with my code for hours on end...
thanks,
John
Find more posts tagged with
Comments
There are no comments yet