From: SangHeum M. <san...@zi...> - 2003-11-04 08:54:10
|
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 ); |