PieDataset with non-Number objects

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
tdk
Posts: 19
Joined: Mon Aug 29, 2005 3:17 pm
Location: Germany
Contact:

PieDataset with non-Number objects

Post by tdk » Fri Sep 16, 2005 1:25 pm

is it possible to create a pie chart based on non-numeric data? what would be the best approach?

here is my problem:
+ i have a set of objects, each containing a condition
+ i want to display the objects as a pie chart, each object being a section
+ the section colour is determined by the condition of the object
+ the dataset is dynamic, ie objects can be added/removed
+ the condition of an object is dynamic too

all the data set classes/interfaces i found, only deal with Number objects. so what would be the best approach to define a (compatible) data set fulfilling the above requirements.

'a bit lost', thomas

Locked