|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.sf.statcvs.charts.ChartUtils
Utility class for chart related stuff.
Method Summary | |
static java.awt.Color |
getStringColor(java.lang.String s)
Returns a distinct Color for a String argument. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static java.awt.Color getStringColor(java.lang.String s)
Color
for a String
argument.
The algorithm tries to provide different colors for similar strings, and
will return equal colors for equal strings. The colors will all have
similar brightness and maximum intensity. Useful for chart coloring.
s
- a String
to get a color for
Color
for a String
argument.
The algorithm tries to provide different colors for similar strings, and
will return equal colors for equal strings. The colors will all have
similar brightness and maximum intensity. Useful for chart coloring.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |