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)
Add Page Break in BIRT Bar Chart
Vinay Lakshman
<p>Hey Guys,</p>
<p> </p>
<p>I am using side-by-side flipped axis bar chart which tracks 3 series of values occuring over a period of time.</p>
<p> </p>
<p>Eg: </p>
<p> </p>
<p style="text-align:center;">Date</p>
<p style="text-align:center;">Value 1</p>
<p style="text-align:center;">Value 2</p>
<p style="text-align:center;">Value 3</p>
<p style="text-align:center;">2015-11-10</p>
<p style="text-align:center;">188</p>
<p style="text-align:center;">23</p>
<p style="text-align:center;">234</p>
<p style="text-align:center;">2015-11-11</p>
<p style="text-align:center;">567</p>
<p style="text-align:center;">234</p>
<p style="text-align:center;">221</p>
<p style="text-align:center;">2015-11-12</p>
<p style="text-align:center;">5435</p>
<p style="text-align:center;">43543</p>
<p style="text-align:center;">7566</p>
<p style="text-align:center;">2015-11-13</p>
<p style="text-align:center;">34234</p>
<p style="text-align:center;">354</p>
<p style="text-align:center;">3455</p>
<p> </p>
<p> </p>
<p>Like this there can be 100's of records. I would like to know if following is possible using Eclipse BIRT 4.5.</p>
<p> </p>
<p>1) How to set Width and Height for Bar Chart</p>
<p>2) How to sett Page break for Bar Chart. (i.e) Each page should show only fixed set of Y axis values</p>
<p>3) How to set width and Height for the 3 series, so that chart looks more readble.</p>
<p> </p>
<p>Also attached is the report snapshot.</p>
<p> </p>
<p>
Find more posts tagged with
Comments
JFreeman
<p>1. You can use BIRT chart scripting to dynamically adjust the charts width/height. Take a look at this article for reference: <a data-ipb='nomediaparse' href='
http://birtworld.blogspot.com/2010/08/birt-charting-scripting-overview.html'>http://birtworld.blogspot.com/2010/08/birt-charting-scripting-overview.html</a></p>
;
<p> </p>
<p>2. You cannot page break inside of a chart. If you want different pages to show the chart with different values, you will need to create separate charts placed inside of a gird and use the page break on the grid to determine the per page chart layout.</p>
<p> </p>
<p>3. I am not sure I understand what you are asking. Are you wanting to adjust the height of the of the bars? if so, that can also be done through the chart scripting.</p>