public class SimpleSeriesRenderer extends Object
Constructor and Description |
---|
SimpleSeriesRenderer() |
Modifier and Type | Method and Description |
---|---|
NumberFormat |
getChartValuesFormat()
Returns the number format for displaying chart values.
|
int |
getColor()
Returns the series color.
|
int |
getGradientStartColor()
Returns the gradient start color.
|
double |
getGradientStartValue()
Returns the gradient start value.
|
int |
getGradientStopColor()
Returns the gradient stop color.
|
double |
getGradientStopValue()
Returns the gradient stop value.
|
BasicStroke |
getStroke()
Returns the stroke style.
|
boolean |
isDisplayBoundingPoints()
Returns if the bounding points of the first and last visible ones should be displayed.
|
boolean |
isGradientEnabled()
Returns the gradient is enabled value.
|
boolean |
isHighlighted()
Returns if the item is displayed highlighted.
|
boolean |
isShowLegendItem()
Returns if the legend item for this renderer should be visible.
|
void |
setChartValuesFormat(NumberFormat format)
Sets the number format for displaying chart values.
|
void |
setColor(int color)
Sets the series color.
|
void |
setDisplayBoundingPoints(boolean display)
Sets if the bounding points of the first and last visible ones should be displayed.
|
void |
setGradientEnabled(boolean enabled)
Sets the gradient enabled value.
|
void |
setGradientStart(double start,
int color)
Sets the gradient start value and color.
|
void |
setGradientStop(double start,
int color)
Sets the gradient stop value and color.
|
void |
setHighlighted(boolean highlighted)
Sets if the item for this renderer should be highlighted.
|
void |
setShowLegendItem(boolean showLegend)
Sets if the legend item for this renderer should be visible.
|
void |
setStroke(BasicStroke stroke)
Sets the stroke style.
|
public int getColor()
public void setColor(int color)
color
- the series colorpublic BasicStroke getStroke()
public void setStroke(BasicStroke stroke)
stroke
- the stroke stylepublic boolean isGradientEnabled()
public void setGradientEnabled(boolean enabled)
enabled
- the gradient enabledpublic double getGradientStartValue()
public int getGradientStartColor()
public void setGradientStart(double start, int color)
start
- the gradient start valuecolor
- the gradient start colorpublic double getGradientStopValue()
public int getGradientStopColor()
public void setGradientStop(double start, int color)
start
- the gradient stop valuecolor
- the gradient stop colorpublic boolean isShowLegendItem()
public void setShowLegendItem(boolean showLegend)
showLegend
- the visibility flag for the legend item for this rendererpublic boolean isHighlighted()
public void setHighlighted(boolean highlighted)
highlighted
- the highlighted flag for the item for this rendererpublic boolean isDisplayBoundingPoints()
public void setDisplayBoundingPoints(boolean display)
display
- the bounding points displaypublic NumberFormat getChartValuesFormat()
public void setChartValuesFormat(NumberFormat format)
format
- the number format for chart values