jfree/jfreechart-fse — pull request #19 by skitt (2013-05-30 13:51:16+00:00)
Title: Quick gradient fix for GradientBarPainter

Hi,

GradientBarPainter uses maxX instead of maxY for the first region of a top-down gradient, which gives the wrong result (most of the time, no gradient at all since the X range is much larger than the Y range). Using getMaxY() instead gives a correct gradient for the first region.

Regards,

Stephen