Skip to main content

LineSeries Class

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

Declaration

public class LineSeries
extends Series

Remarks

The following image demonstrates Line series:

LineSeries

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)

LineSeries()

Initializes a new LineSeries class instance with default parameters.

Declaration

public LineSeries()

Methods

getLabel() Method

Returns the marker series label.

Declaration

public MarkerSeriesLabel getLabel()

Returns

Type Description
MarkerSeriesLabel

The MarkerSeriesLabel object specifying the Line series labels.

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.

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.

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

setLabel(MarkerSeriesLabel) Method

Specifies the marker series label.

Declaration

public void setLabel(MarkerSeriesLabel seriesLabel)

Parameters

Name Type Description
seriesLabel MarkerSeriesLabel

The MarkerSeriesLabel object specifying the Line 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(LineSeriesStyle) Method

Specifies the appearance parameters of a Line series.

Declaration

public void setStyle(LineSeriesStyle style)

Parameters

Name Type Description
style LineSeriesStyle

The LineSeriesStyle object that configures the Line series appearance.