Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » how to set pie chart identifier font
how to set pie chart identifier font [message #687779] Thu, 23 June 2011 08:00 Go to next message
Dave Missing name is currently offline Dave Missing nameFriend
Messages: 20
Registered: October 2010
Junior Member
PieSeries ps = (PieSeries) PieSeriesImpl.create( );
ps.getLabel( ).getCaption( ).setColor( ColorDefinitionImpl.RED( ) );
ps.getLabel( ).setBackground( ColorDefinitionImpl.CYAN( ) );
ps.getLabel( ).setVisible( true );
ps.setSeriesIdentifier( "sales 2010" );

How to set font for pie chart identifier "sales 2010"?
Now it shows as bold big font. I like it to be regular and smaller.

Thanks
Dave
Re: how to set pie chart identifier font [message #687921 is a reply to message #687779] Thu, 23 June 2011 14:14 Go to previous messageGo to next message
Jason Weathersby is currently offline Jason WeathersbyFriend
Messages: 9167
Registered: July 2009
Senior Member

Try:

ps.getTitle().getCaption().setColor(ColorDefinitionImpl.RED( ));
ps.getTitle().getCaption().getFont().setSize(10);
ps.getTitle().getCaption().getFont().setBold(false);

Jason
Re: how to set pie chart identifier font [message #687928 is a reply to message #687921] Thu, 23 June 2011 14:35 Go to previous message
Dave Missing name is currently offline Dave Missing nameFriend
Messages: 20
Registered: October 2010
Junior Member
Hi Jason,
Your suggestions worked great.

Thanks
Dave
Previous Topic:Outputting Fixed-width file using BIRT reporting tool
Next Topic:Newbie: Embed Image from URL
Goto Forum:
  


Current Time: Sat Apr 20 02:17:06 GMT 2024

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

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

Back to the top