public interface HasColors<T>
Modifier and Type | Method and Description |
---|---|
T |
addColors(Color... colors)
Adds colors.
|
java.util.List<Color> |
getColors() |
T |
setColors(java.util.List<Color> colors)
Sets the list of colors.
|
java.util.List<Color> getColors()
T setColors(java.util.List<Color> colors)
If you use charts based on SlicedChart
it specifies the colors of the slices, if the slice color is not set.
If there are more slices than colors in this array, the chart picks random color.
If you use charts based on CoordinateChart
it specifies the colors of the graphs if the lineColor of a graph is not set.
If there are more graphs then colors in this array, the chart picks a random color.
colors
- - list of colors