Skip to main content

SeriesBase Class

The base class for all series.

Declaration

public abstract class SeriesBase
extends StyledElement

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)

Inheritance

SeriesBase()

Initializes a new SeriesBase class instance with default parameters.

Declaration

public SeriesBase()

Methods

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.

getLegendTextPattern() Method

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

Declaration

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.

Declaration

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.

Declaration

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.

Declaration

public void setDisplayName(String name)

Parameters

Name Type Description
name String

The series display name.

setLegendTextPattern(String) Method

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

Declaration

public void setLegendTextPattern(String pattern)

Parameters

Name Type Description
pattern String

The formatting string.

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

Name Type Description
value boolean

true if the series is visible; otherwise false.

setVisibleInLegend(boolean) Method

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

Declaration

public void setVisibleInLegend(boolean value)

Parameters

Name Type Description
value boolean

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