SeriesBase Class

The base class for all series.

Syntax

public abstract class SeriesBase
extends StyledElement

Inheritance

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

SeriesBase() Constructor

Initializes a new SeriesBase class instance with default parameters.

Syntax

public SeriesBase()

Methods

getDisplayName() Method

Returns the series name that is shown with the series marker in the legend.

Syntax

public String getDisplayName()

Returns

Type Description
String

The series display name.

getLegendTextPattern() Method

Returns the pattern formating the series's representation in the legend.

Syntax

public String getLegendTextPattern()

Returns

Type Description
String

The formatting string.

isVisible() Method

Returns the value indicating whether the series is shown in the chart or it is hidden.

Syntax

public boolean isVisible()

Returns

Type Description
boolean

true if the series is visible; otherwise false.

isVisibleInLegend() Method

Returns the value indicating whether the series' marker and display name are shown in the legend.

Syntax

public boolean isVisibleInLegend()

Returns

Type Description
boolean

true if the series' marker and display name are shown in the legend; otherwise false.

setDisplayName(String) Method

Specifies the series name that is shown with the series marker in the legend.

Syntax

public void setDisplayName(String name)

Parameters

Type Name Description
String name

The series display name.

setLegendTextPattern(String) Method

Specifies the pattern formating the series's representation in the legend.

Syntax

public void setLegendTextPattern(String pattern)

Parameters

Type Name Description
String pattern

The formatting string.

setVisible(boolean) Method

Specifies the value indicating whether the series is shown in the chart or it is hidden.

Syntax

public void setVisible(boolean value)

Parameters

Type Name Description
boolean value

true if the series is visible; otherwise false.

setVisibleInLegend(boolean) Method

Specifies the value indicating whether the series marker is shown in the legend.

Syntax

public void setVisibleInLegend(boolean value)

Parameters

Type Name Description
boolean value

true if the series' marker and display name are shown in the legend; otherwise false.