From: Buchanan, P. <Pau...@th...> - 2003-06-04 17:53:16
|
Contrary to the documentation, I do not seem to get "default" horizontal grid lines on line graphs. If I turn them on explicitly: AxisProperties axisProperties = new AxisProperties(); axisProperties.getYAxisProperties().setShowGridLines( AxisTypeProperties.GRID_LINES_ALL ); I do get grid lines. However, I cannot change their properties. Code such as: ChartStroke yAxisGridLines = new ChartStroke(new BasicStroke(1.0f), Color.red); axisProperties.getYAxisProperties().setGridLineChartStroke( yAxisGridLines ); has no effect. Interestingly, I can enable grid lines on the x axis, and change their properties as expected. I have been working with the Line graph example in a simple application that is outputting the resulting graph with the JPEGEncoder13. Any ideas? Thanks Paul Buchanan email: pau...@th... |