wrong baselinecolor in linecharts

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Michael Zwettler

wrong baselinecolor in linecharts

Post by Michael Zwettler » Tue Apr 16, 2002 3:25 pm

Hi,

The method draw() in class VerticalCategoryPlot paints the baseline at zero without a setPaint before -> the baseline is always painted with the color of the last series.
I think you missed a "g2.setPaint(Color.gray);" like in HorizontalCategoryPlot.

Michael

David Gilbert

Re: wrong baselinecolor in linecharts

Post by David Gilbert » Tue Apr 16, 2002 3:36 pm

Hi Michael,

Thanks for the report. I'll fix it for the next version.

Regards,

DG.

Locked