Similar to patch 1670686, this implementation clips the bars to the visible plot area. I also introduced some extra early checks to skip rendering the data, which is out of the displayed range.
Patch against 1.0.4
Logged In: YES
Thanks! Your patch has been applied to CVS for inclusion in the 1.0.5 release.