XYStepRenderer - seriesPaint fix for multiple datasets

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

XYStepRenderer - seriesPaint fix for multiple datasets

Post by Stacey » Tue Jan 14, 2003 4:28 pm

I found in XYStepRenderer (line 91; in method drawItem(...)), the statement

Paint seriesPaint = getFillPaint(0,series);

...limits the painting in multiple series. I'm not sure if this is on purpose or a missed update. An update to:

Paint seriesPaint = getFillPaint(datasetIndex,series);

...would be appreciated!
Thanks!
Stacey

David Gilbert

Re: XYStepRenderer - seriesPaint fix for multiple datasets

Post by David Gilbert » Wed Jan 15, 2003 10:46 am

Hi Stacey,

I'm working on the paint code and renderers right now, so I'll check that XYStepRenderer will work with the most recent changes I've made. Hopefully it will get to CVS today or tomorrow.

Regards,

Dave Gilbert

Locked