Changing series color in VerticalCategoryPlot

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

Changing series color in VerticalCategoryPlot

Post by Jonathan Kozolchyk » Thu Nov 07, 2002 2:40 am

I'm using a StackedAreaCategoryItemRenderer to make a stacked area plot and I'd like to be able to change the color of each series. Is there a way to do this?

Thanks,

Jonathan

Dave Gilbert

Re: Changing series color in VerticalCategoryPlot

Post by Dave Gilbert » Fri Nov 08, 2002 12:34 am

There are two setSeriesPaint(...) methods in the Plot class. These allow you to specify the color for each series.

Regards,

DG

Locked