Skip to main content

AreaSeries Class

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

Declaration

public class AreaSeries
extends Series

Remarks

The following image demonstrates Area series:

Area series sample

Inherited Members

java.lang.Object.equals(java.lang.Object)(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)(long)
java.lang.Object.wait(long, int)(long,int)

AreaSeries()

Initializes a new AreaSeries class instance with default parameters.

Declaration

public AreaSeries()

Methods

getLabel() Method

Returns the series label settings.

Declaration

public MarkerSeriesLabel getLabel()

Returns

Type Description
MarkerSeriesLabel

The MarkerSeriesLabel object specifying the Area series labels.

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.

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.

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.

setColorEach(boolean) Method

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

Declaration

public void setColorEach(boolean value)

Parameters

Name Type Description
value boolean

true if markers should have different colors; otherwise false.

setLabel(MarkerSeriesLabel) Method

Specifies the series label settings.

Declaration

public void setLabel(MarkerSeriesLabel seriesLabel)

Parameters

Name Type Description
seriesLabel MarkerSeriesLabel

The MarkerSeriesLabel object specifying the Area series labels.

setMarkersVisible(boolean) Method

Specifies the value indicating whether series markers should be visible.

Declaration

public void setMarkersVisible(boolean showMarkers)

Parameters

Name Type Description
showMarkers boolean

true if markers are visible; otherwise false.

setStyle(AreaSeriesStyle) Method

Specifies the Area series style.

Declaration

public void setStyle(AreaSeriesStyle style)

Parameters

Name Type Description
style AreaSeriesStyle

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