cheungke / charts4j

Automatically exported from code.google.com/p/charts4j
Other
0 stars 0 forks source link

Iterate over the available default colors #50

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Type: Enhancement

It would be nice if the API would provide a way to get a Set or List of the 
default colors, so creating pies of variable number of slices would be easier 
because one could iterate over the Set or List to get colors for the slices.

Why not using an Enum class instead of static variables for example? Enum can 
be iterable through EnumSet.allOf(Class<E> elementType) 

Original issue reported on code.google.com by pak...@gmail.com on 12 Aug 2010 at 2:38

GoogleCodeExporter commented 8 years ago
Thanks pakore. Will consider this idea.

Original comment by Julien.C...@gmail.com on 12 Aug 2010 at 3:20