From: David G. <dav...@ob...> - 2006-01-11 11:29:19
|
I committed the following changes to fix a rendering problem when the bar renderer uses a non-zero base: 2006-01-11 David Gilbert <dav...@ob...> * org/jfree/chart/renderer/category/BarRenderer.java (includeBaseInRange): New flag, (BarRenderer): Initialise new flag, (getIncludeBaseInRange): New accessor method, (setIncludeBaseInRange): Likewise, (calculateBarL0L1): Simplified code to fix bug 1401856, (findRangeBounds): New override method, * org/jfree/chart/plot/CategoryPlot.java (rendererChanged): Call configureRangeAxes(), because the renderer can affect the axis range, * org/jfree/data/Range.java (combine): Reformatted, (expandToInclude): New method, (expand): Reformatted, (shift): Likewise, (shiftWithNoZeroCrossing): Added API docs. * org/jfree/chart/axis/junit/NumberAxisTests.java (testAutoRange2): Fixed failing test, (testAutoRange3): Likewise, * NEWS: Added recent updates. Regards, Dave |