Reply to topic  [ 5 posts ] 
How to change chart title's style ? 
Author Message

Joined: Fri Aug 08, 2008 1:49 am
Posts: 6
Reply with quote
Post How to change chart title's style ?
I generated chart, but the font size of the chart is too large.
Is possible to set the font size for chart title?

Thanks.


Thu Mar 26, 2009 4:56 am
Profile

Joined: Fri Feb 03, 2006 12:23 pm
Posts: 157
Location: Brasov, Romania
Reply with quote
Post 
The font settings of the chart title and axis labels are inherited from chart area settings. You can change the font size for the chart area.


Fri Mar 27, 2009 8:02 am
Profile WWW

Joined: Fri Aug 08, 2008 1:49 am
Posts: 6
Reply with quote
Post 
It seems that chart title cannot change by setting font size for chart area.
Also, if I want to set different styles between title and axis label..how can I do so ?

This is my code:
Code:
ExcelChartArea chartArea = xlsChart.easy_getChartArea();
chartArea.setFontSize(10);


Sun Mar 29, 2009 9:57 pm
Profile

Joined: Fri Feb 03, 2006 12:23 pm
Posts: 157
Location: Brasov, Romania
Reply with quote
Post 
The default font size for the chart title is 10. Try a different value.
The chart title and axis labels will have the same size.


Mon Mar 30, 2009 4:30 am
Profile WWW

Joined: Fri Aug 08, 2008 1:49 am
Posts: 6
Reply with quote
Post 
I generate 97-2003 format Excel file, and open the file with Office 2007 and the default size of Chart title is 14.3, even I set the font size of Chart Area as 10.

So, is it a bug ??


Mon Mar 30, 2009 9:41 pm
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 5 posts ] 

Who is online

Users browsing this forum: Google [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.