From: Buchanan, P. <Pau...@th...> - 2003-06-05 18:59:07
|
Nathan, I went ahead and made the changes you suggested, and did a local build. Seems to work fine now. Thanks wow, look at that. For some reason the code in org.jCharts.axisChart.axis.YAxis got commented out and other code inserted in its place. If you look at line 243 in YAxis you will see: /* if( i < super.getAxisLabelsGroup().size() || ( i == super.getAxisLabelsGroup().size() && !axisTypeProperties.getShowEndBorder() ) ) */ if( i == super.getNumberOfScaleItems() - 1 && !axisTypeProperties.getShowEndBorder() ) { axisTypeProperties.getGridLineChartStroke().draw( graphics2D, line2D ); } else { //---draw top border with the same ChartStroke as the X-Axis axisProperties.getXAxisProperties().getAxisStroke().draw( graphics2D, line2D ); } change the if so it is the commented out if statement. if( i < super.getAxisLabelsGroup().size() || ( i == super.getAxisLabelsGroup().size() && !axisTypeProperties.getShowEndBorder() ) ) { axisTypeProperties.getGridLineChartStroke().draw( graphics2D, line2D ); } else { //---draw top border with the same ChartStroke as the X-Axis axisProperties.getXAxisProperties().getAxisStroke().draw( graphics2D, line2D ); } this will work for you. remember to set the: axisProperties.getYAxisProperties().setShowEndBorder( false ); so your red grid lines are not drawn over the end of the axis. Can you do a build locally or would you like a build from the site? I guess we should do a build as this is a hairy bug. |