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)
Changing the height and width of the chart using java event handling
shalu30aug
I have a chart.It can be any thing like bar chart,pie chart etc.I want to change the height and width of the chart according to my size before rendering it in the viewer.i want to use java event handling for this.
Find more posts tagged with
Comments
kclark
To set the height and width of the chart you would use something like<br />
<br />
<pre class='_prettyXprint _lang-auto _linenums:0'>mychart.setWidth("3in");
mychart.setHeight("3in");</pre>
<br />
Do you already have some Java code that you can post?
shalu30aug
if we want to change the height and width of the whole report to specific size....how can we render it?I want to render my report to a portlet of some size....how can i achieve it?
kclark
If you already know the dimensions that you want your report to be you can go to the master page tab > general > and change the type to custom. Then you can change the height and width of the report.
shalu30aug
Thanks a lot!!!!!It worked for my requirements.
kclark
Glad it's working, let us know whenever you have questions!