From: Vikram R. <Vi...@PL...> - 2003-11-04 09:03:11
|
Try this .... axisProperties.getXAxisProperties().setAxisTitleChartFont( axisTitleFont ); axisProperties.getYAxisProperties().setAxisTitleChartFont( axisTitleFont ); - Vikram -----Original Message----- From: SangHeum Moon [mailto:san...@zi...] Sent: Tuesday, November 04, 2003 2:28 PM To: jch...@li... Subject: [jCharts-users] Trying to change Font for axis Title I'm trying to change font with sample chart.jsp. Every other fonts in sample is working fine. But I cannot make it to change the font for the axis Title. Anyone got an idea? Following is the part of the code I changed from chart.jsp ChartFont axisTitleFont = new ChartFont( new Font( "Arial Narrow", Font.PLAIN, 14 ), Color.red ); // I only changed Color.black to Color.red, but it doesn't work axisProperties.getXAxisProperties().setTitleChartFont( axisTitleFont ); axisProperties.getYAxisProperties().setTitleChartFont( axisTitleFont ); ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ jCharts-users mailing list jCh...@li... https://lists.sourceforge.net/lists/listinfo/jcharts-users |