public interface XYZColorSource
Color values for an XYZRenderer.
Classes that implement this interface should also implement
java.io.Serializable, otherwise it will not be possible to
serialize and deserialize charts that use the non-serializable instance.
| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor(int series,
int item)
Returns the color for one item in the plot.
|
java.awt.Color |
getLegendColor(int series)
Returns the color that represents the specified series.
|
void |
style(java.awt.Color... colors)
Restyles the source using the specified colors.
|
java.awt.Color getColor(int series, int item)
series - the series index.item - the item index.null).java.awt.Color getLegendColor(int series)
series - the series index.null).void style(java.awt.Color... colors)
colors - the colors.