Chart Legend Size/Wrapping
Options
I'm working through my first chart and I'm having trouble getting the legend to render properly.
It's truncating the values. Can someone tell me what properties I should be tweaking to get the legend correct?
Thanks!
It's truncating the values. Can someone tell me what properties I should be tweaking to get the legend correct?
Thanks!
0
Comments
-
<p>Hi, I am also facing the same issue. The only difference is my legends are dynamically generated by some query. BIRT is unable to plot the legends and get the legends chopped off from the chart area.</p>
<p>Can you please help me to get this fix.</p>
0 -
<p>Hi BIRT Guru,</p>
<p> </p>
<p>Can you please comment on the above question as fix required urgently.</p>
<p>Thanks</p>
0 -
<p>What version of BIRT are you using?</p>
<p>What type of chart are you using? (SVG, PNG, HTML5, etc)</p>
<p>Can you attach a sample report that demonstrates your chart configuration for the legend?</p>
<p> </p>
<p>One solution when having legend issues is to create the legend separately with scripting.</p>
Warning No formatter is installed for the format ipb0 -
<p>Hi JFreeman,</p>
<p> </p>
<p>Currently i am using the 4.3.2 birt version with SVG chart type.</p>
<p>Please let me know if any version and chart type related issue.</p>
<p>OR</p>
<p>Please let me know if can you use any script for legend plotting, if possible paste any example.</p>
<p> </p>
<p>Thanks</p>0 -
<p>Take a look at this blog post on manipulating chart legends: <a data-ipb='nomediaparse' href='http://birtworld.blogspot.com/2010/07/manipulating-chart-legends-in-event.html'>http://birtworld.blogspot.com/2010/07/manipulating-chart-legends-in-event.html</a></p>
Warning No formatter is installed for the format ipb0 -
<p><span style="color:rgb(51,51,51);font-family:Verdana, Arial, sans-serif;font-size:13px;">In Case for Horizontal wrapping of dynamic legends u can use the following property:</span><br><span style="color:rgb(51,51,51);font-family:Verdana, Arial, sans-serif;font-size:13px;">From your Eclipse designer: set Format Chart->Legend->Entries->Ellipsis property to possible max length of your dynamic legends. and the problem will be solved.</span><br><br><span style="color:rgb(51,51,51);font-family:Verdana, Arial, sans-serif;font-size:13px;">As this property work as follows:</span><br><span style="color:rgb(51,51,51);font-family:Verdana, Arial, sans-serif;font-size:13px;">The default value is "1". Int attribute "Ellipsis" specifies the behavior of shortening the legend item's text with ellipsis if there is not enough space to display the whole text. Value 0 indicates that the feature is disabled, and the legend item will either be displayed with whole text or be dropped. A positive value n represents the minimal count of characters to be displayed before the ellipsis, which means the legend item will either be dropped or be displayed with at least n characters.</span><br><br><span style="color:rgb(51,51,51);font-family:Verdana, Arial, sans-serif;font-size:13px;">Hope this will solve your problem. It worked for me.</span></p>
1 -
Thanks @wp123. Your description on Ellipses helped me.0
Categories
- All Categories
- 109 Developer Announcements
- 49 Articles
- 100 General Questions
- 122 IM Services
- 40 OpenText Hackathon
- 31 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 897 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 122 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management