EasyXLS
http://forum.easyxls.com/

How to change chart title's style ?
http://forum.easyxls.com/viewtopic.php?f=5&t=1090
Page 1 of 1

Author:  jackyliu [ Thu Mar 26, 2009 4:56 am ]
Post subject:  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.

Author:  daniela [ Fri Mar 27, 2009 8:02 am ]
Post subject: 

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.

Author:  jackyliu [ Sun Mar 29, 2009 9:57 pm ]
Post subject: 

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);

Author:  daniela [ Mon Mar 30, 2009 4:30 am ]
Post subject: 

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.

Author:  jackyliu [ Mon Mar 30, 2009 9:41 pm ]
Post subject: 

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 ??

Page 1 of 1 All times are UTC - 4 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/