SeriesBase Class

The base class for all series.

Declaration

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.

Declaration

public SeriesBase()

Methods

SeriesBase.getDisplayName() Method

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

Declaration

public String getDisplayName()

Returns

Type Description
String

The series display name.

SeriesBase.getLegendTextPattern() Method

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

Declaration

public String getLegendTextPattern()

Returns

Type Description
String

The formatting string.

SeriesBase.isVisible() Method

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

Declaration

public boolean isVisible()

Returns

Type Description
boolean

true if the series is visible; otherwise false.

SeriesBase.isVisibleInLegend() Method

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

Declaration

public boolean isVisibleInLegend()

Returns

Type Description
boolean

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

SeriesBase.setDisplayName(String) Method

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

Declaration

public void setDisplayName(String name)

Parameters

Type Name Description
String name

The series display name.

SeriesBase.setLegendTextPattern(String) Method

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

Declaration

public void setLegendTextPattern(String pattern)

Parameters

Type Name Description
String pattern

The formatting string.

SeriesBase.setVisible(boolean) Method

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

Declaration

public void setVisible(boolean value)

Parameters

Type Name Description
boolean value

true if the series is visible; otherwise false.

SeriesBase.setVisibleInLegend(boolean) Method

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

Declaration

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.