Skip to main content



      Home
Home » Archived » BIRT » Chart API - How to make legend appear on top of the chart
Chart API - How to make legend appear on top of the chart [message #908217] Tue, 04 September 2012 20:45 Go to next message
Eclipse UserFriend
I cannot figure out how to make legend block of the chart to appear on top of the chart, vs on the left. I tried different combinations of legend.setColumn, setRow and setColumnSpan and it did not seems to have any effect on layout...
Re: Chart API - How to make legend appear on top of the chart [message #908599 is a reply to message #908217] Wed, 05 September 2012 12:15 Go to previous message
Eclipse UserFriend
Try:

Legend lg = cwaBar.getLegend();
lg.setItemType(LegendItemType.CATEGORIES_LITERAL);
lg.setPosition(Position.ABOVE_LITERAL);

Jason

On 9/4/2012 8:45 PM, Elena Laskavaia wrote:
> I cannot figure out how to make legend block of the chart to appear on
> top of the chart, vs on the left. I tried different combinations of
> legend.setColumn, setRow and setColumnSpan and it did not seems to have
> any effect on layout...
Previous Topic:Max y-axis value on split bar chart
Next Topic:scale on Y axis
Goto Forum:
  


Current Time: Tue Jul 22 19:01:39 EDT 2025

Powered by FUDForum. Page generated in 0.03588 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top