Search found 1 match

by JeffKirby
Fri Feb 04, 2005 2:27 am
Forum: JFreeChart
Topic: alternating colors on one dataset in XYPlot
Replies: 7
Views: 8376

Quite Simple actually. I needed to do a similar thing for my Histogram, so i extended the XYBarRenderer and implemented the method getItemPaint() as well as some modification methods. here is my example. All you have to do is swap the renderer when you create your chart XYPlot xyPlot = jfreechart.ge...