public class SimpleSeriesRenderer

  1. Object
  2. SimpleSeriesRenderer

Known subtypesXYSeriesRenderer

A simple series renderer.

Constructors

public SimpleSeriesRenderer()

Methods

public int getColor()Returns the series color.
public void setColor(int color)Sets the series color.
public BasicStroke getStroke()Returns the stroke style.
public void setStroke(BasicStroke stroke)Sets the stroke style.
public boolean isGradientEnabled()Returns the gradient is enabled value.
public void setGradientEnabled(boolean enabled)Sets the gradient enabled value.
public double getGradientStartValue()Returns the gradient start value.
public int getGradientStartColor()Returns the gradient start color.
public void setGradientStart(double start, int color)Sets the gradient start value and color.
public double getGradientStopValue()Returns the gradient stop value.
public int getGradientStopColor()Returns the gradient stop color.
public void setGradientStop(double start, int color)Sets the gradient stop value and color.
public boolean isShowLegendItem()Returns if the legend item for this renderer should be visible.
public void setShowLegendItem(boolean showLegend)Sets if the legend item for this renderer should be visible.
public boolean isHighlighted()Returns if the item is displayed highlighted.
public void setHighlighted(boolean highlighted)Sets if the item for this renderer should be highlighted.
public boolean isDisplayBoundingPoints()Returns if the bounding points of the first and last visible ones should be displayed.
public void setDisplayBoundingPoints(boolean display)Sets if the bounding points of the first and last visible ones should be displayed.
public NumberFormat getChartValuesFormat()Returns the number format for displaying chart values.
public void setChartValuesFormat(NumberFormat format)Sets the number format for displaying chart values.

Inherited methods

Constructor details

SimpleSeriesRenderer

public SimpleSeriesRenderer()

Method details

getColor

public int getColor()
Returns the series color.

Returns

the series color

setColor

public void setColor(int color)
Sets the series color.

Parameters

color int
the series color

getStroke

public BasicStroke getStroke()
Returns the stroke style.

Returns

the stroke style

setStroke

public void setStroke(BasicStroke stroke)
Sets the stroke style.

Parameters

stroke BasicStroke
the stroke style

isGradientEnabled

public boolean isGradientEnabled()
Returns the gradient is enabled value.

Returns

the gradient enabled

setGradientEnabled

public void setGradientEnabled(boolean enabled)
Sets the gradient enabled value.

Parameters

enabled boolean
the gradient enabled

getGradientStartValue

public double getGradientStartValue()
Returns the gradient start value.

Returns

the gradient start value

getGradientStartColor

public int getGradientStartColor()
Returns the gradient start color.

Returns

the gradient start color

setGradientStart

public void setGradientStart(double start, int color)
Sets the gradient start value and color.

Parameters

start double
the gradient start value
color int
the gradient start color

getGradientStopValue

public double getGradientStopValue()
Returns the gradient stop value.

Returns

the gradient stop value

getGradientStopColor

public int getGradientStopColor()
Returns the gradient stop color.

Returns

the gradient stop color

setGradientStop

public void setGradientStop(double start, int color)
Sets the gradient stop value and color.

Parameters

start double
the gradient stop value
color int
the gradient stop color

isShowLegendItem

public boolean isShowLegendItem()
Returns if the legend item for this renderer should be visible.

Returns

the visibility flag for the legend item for this renderer

setShowLegendItem

public void setShowLegendItem(boolean showLegend)
Sets if the legend item for this renderer should be visible.

Parameters

showLegend boolean
the visibility flag for the legend item for this renderer

isHighlighted

public boolean isHighlighted()
Returns if the item is displayed highlighted.

Returns

the highlighted flag for the item for this renderer

setHighlighted

public void setHighlighted(boolean highlighted)
Sets if the item for this renderer should be highlighted. Pie chart is supported for now.

Parameters

highlighted boolean
the highlighted flag for the item for this renderer

isDisplayBoundingPoints

public boolean isDisplayBoundingPoints()
Returns if the bounding points of the first and last visible ones should be displayed.

Returns

the bounding points display

setDisplayBoundingPoints

public void setDisplayBoundingPoints(boolean display)
Sets if the bounding points of the first and last visible ones should be displayed.

Parameters

display boolean
the bounding points display

getChartValuesFormat

public NumberFormat getChartValuesFormat()
Returns the number format for displaying chart values.

Returns

the number format for chart values

setChartValuesFormat

public void setChartValuesFormat(NumberFormat format)
Sets the number format for displaying chart values.

Parameters

format NumberFormat
the number format for chart values