AreaSeries Class

Displays data as filled areas on a chart, with each data point as a peak or hollow in the area.

Declaration

public class AreaSeries
extends Series

The following image demonstrates Area series:

Area series sample

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

AreaSeries() Constructor

Initializes a new AreaSeries class instance with default parameters.

Declaration

public AreaSeries()

Methods

Constructors

AreaSeries.getLabel() Method

Returns the series label settings.

Declaration

public MarkerSeriesLabel getLabel()

Returns

Type Description
MarkerSeriesLabel

The MarkerSeriesLabel object specifying the Area series labels.

AreaSeries.getStyle() Method

Returns the Area series style.

Declaration

public AreaSeriesStyle getStyle()

Returns

Type Description
AreaSeriesStyle

The AreaSeriesStyle object that configures the Area series' appearance parameters.

AreaSeries.isColorEach() Method

Returns the value indicating whether the series markers have different colors.

Declaration

public boolean isColorEach()

Returns

Type Description
boolean

true if markers should have different colors; otherwise false.

AreaSeries.isMarkersVisible() Method

Returns the value indicating whether series markers should be visible.

Declaration

public boolean isMarkersVisible()

Returns

Type Description
boolean

true if markers are visible; otherwise false.

AreaSeries.setColorEach(boolean) Method

Specifies the value indicating whether the series markers have different colors.

Declaration

public void setColorEach(boolean value)

Parameters

Type Name Description
boolean value

true if markers should have different colors; otherwise false.

AreaSeries.setLabel(MarkerSeriesLabel) Method

Specifies the series label settings.

Declaration

public void setLabel(MarkerSeriesLabel seriesLabel)

Parameters

Type Name Description
MarkerSeriesLabel seriesLabel

The MarkerSeriesLabel object specifying the Area series labels.

AreaSeries.setMarkersVisible(boolean) Method

Specifies the value indicating whether series markers should be visible.

Declaration

public void setMarkersVisible(boolean showMarkers)

Parameters

Type Name Description
boolean showMarkers

true if markers are visible; otherwise false.

AreaSeries.setStyle(AreaSeriesStyle) Method

Specifies the Area series style.

Declaration

public void setStyle(AreaSeriesStyle style)

Parameters

Type Name Description
AreaSeriesStyle style

The AreaSeriesStyle object that configures the Area series' appearance parameters.