Bug or Feature? Category Color Change

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
SomeOtherUser
Posts: 13
Joined: Thu Apr 06, 2006 7:55 pm

Bug or Feature? Category Color Change

Post by SomeOtherUser » Thu Apr 06, 2006 11:10 pm

I have a CategoryDataset. Suppose it has 3 categories, each with a different color. If I remove category 2, category 3 takes on category 2's color. My thought is the chart should maintain the category-color association, but color is assigned based on category index and not its Comparable key. Should I post this as a bug?

Locked