Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
how to get the chart reference in beforeFactory without naming the chart
shalu30aug
<p>In beforeFactory method ,I want to write script for resizing chart to a given height and width,how can I do it without naming the chart...How can i get the refernce of the chart?</p>
Find more posts tagged with
Comments
kclark
<p>You can do it by grabbing the design handle of the chart if you know the element ID.</p><pre class="_prettyXprint">chart = reportContext.getDesignHandle().getElementByID(101)chart.setHeight("10in");chart.setWidth("10in");</pre>