LineSeries Class

A series that displays data as points connected by a line.

Declaration

public class LineSeries
extends Series

The following image demonstrates Line series:

LineSeries

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

LineSeries() Constructor

Initializes a new LineSeries class instance with default parameters.

Declaration

public LineSeries()

Methods

LineSeries.getLabel() Method

Returns the marker series label.

Declaration

public MarkerSeriesLabel getLabel()

Returns

Type Description
MarkerSeriesLabel

The MarkerSeriesLabel object specifying the Line series labels.

LineSeries.getStyle() Method

Returns the appearance parameters of a Line series.

Declaration

public LineSeriesStyle getStyle()

Returns

Type Description
LineSeriesStyle

The LineSeriesStyle object that configures the Line series appearance.

LineSeries.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 be multicolored; otherwise false.

LineSeries.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.

LineSeries.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 be multicolored; otherwise false.

LineSeries.setLabel(MarkerSeriesLabel) Method

Specifies the marker series label.

Declaration

public void setLabel(MarkerSeriesLabel seriesLabel)

Parameters

Type Name Description
MarkerSeriesLabel seriesLabel

The MarkerSeriesLabel object specifying the Line series labels.

LineSeries.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.

LineSeries.setStyle(LineSeriesStyle) Method

Specifies the appearance parameters of a Line series.

Declaration

public void setStyle(LineSeriesStyle style)

Parameters

Type Name Description
LineSeriesStyle style

The LineSeriesStyle object that configures the Line series appearance.