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)
Label Text Orientation
lenburt
Hello out there -- this seems pretty simple but i am not finding a solution. On a label item, i would like to rotate the text 90 degrees as you can do in Excel. We have some long report labels relative to the data so we would like the headings to rotate 90 degrees do be able to use a more meaningful description. Is there a way to do this? -- thx, len
Find more posts tagged with
Comments
RichT
Hi,<br />
<br />
<a class='bbc_url' href='
http://www.eclipse.org/articles/article.php?file=Article-BIRT-ExtensionTutorial1/index.html'>BIRT
Extension Mechanism, Part 1: Custom Report Items</a><br />
<br />
Hope this helps,<br />
Rich
Yaytay
<blockquote class='ipsBlockquote' data-author="'RichT'" data-cid="98349" data-time="1332961117" data-date="28 March 2012 - 11:58 AM"><p>
<a class='bbc_url' href='
http://www.eclipse.org/articles/article.php?file=Article-BIRT-ExtensionTutorial1/index.html'>BIRT
Extension Mechanism, Part 1: Custom Report Items</a><br /></p></blockquote>
<br />
The problem with that generic approach is that it doesn't permit the rotated text to overlap, which means that 90 degrees is the only useful rotation for column headings.<br />
<br />
If text rotation was built in to BIRT then it would be up to the emitters to perform the rotation and it would be possible to have overlapping text at smaller angles (i.e. more like Excel does).<br />
In the absence of a built in BIRT support for rotated text I added it to the <a class='bbc_url' href='
http://www.spudsoft.co.uk/2011/10/the-spudsoft-birt-excel-emitters/'>SpudSoft
BIRT Excel emitters</a> - so you can set a UserProperty on the label and the emitter will rotate it in Excel.<br />
Without support from BIRT there is obviously no design time representation of this, though it does work especially well for crosstabs where there is no design time display of the actual column headers anyway.<br />
<br />
Jim