public interface CategoryColorSource
StandardCategoryColorSource) is provided and you can customise
the rendering colors by providing an alternate implementation.| Modifier and Type | Method and Description |
|---|---|
java.awt.Color |
getColor(int series,
int row,
int column)
Returns the color for one data item in the chart.
|
java.awt.Color |
getLegendColor(int series)
Returns the color to be used in the legend to represent the specified
series.
|
void |
style(java.awt.Color... colors)
Restyles the source using the specified colors.
|
java.awt.Color getColor(int series, int row, int column)
Color rather than a paint, because some manipulations
are done for the shading during the 3D rendering.series - the series index.row - the row index.column - the column index.java.awt.Color getLegendColor(int series)
series - the series index.void style(java.awt.Color... colors)
colors - the colors.