Skip to main content

LineSeriesBase Class

The base class for line series.

Declaration

public abstract class LineSeriesBase extends SeriesBase

Remarks

LineSeries and Line3DSeries classes derive from the LineSeriesBase class.

Refer to the following help topic for additional information: Create Standard Charts — Presentation API for Java.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
See Also

Methods

getCustomDataPoints() Method

Returns appearance settings for individual series data points.

Declaration

public IDataPointDictionary getCustomDataPoints()

Returns

Type Description
IDataPointDictionary

A dictionary that maps zero-based data point indexes to data point settings.

Remarks

To customize an individual data point, add a DataPoint object to the dictionary that the getCustomDataPoints() method returns. The dictionary key is the zero-based index of the data point.

getMarker() Method

Returns marker settings for series data points.

Declaration

public Marker getMarker()

Returns

Type Description
Marker

Marker settings.

getSmooth() Method

Returns whether the series connects data points with smooth lines.

Declaration

public @Nullable Boolean getSmooth()

Returns

Type Description

true if the series connects data points with smooth lines, false if the series connects data points with straight lines, or null if the series does not specify this setting.

setMarker(Marker value) Method

Sets marker settings for series data points.

Declaration

public void setMarker(Marker value)

Parameters

Name Type Description
value Marker

Marker settings.

Remarks

A new series has a marker with the MarkerStyle.AUTO symbol and size 5. To hide markers, pass a Marker object with the MarkerStyle.NONE symbol to the setMarker(value) method.

To specify the marker of an individual data point, call the DataPoint.setMarker(value) method.

setSmooth(@Nullable Boolean value) Method

Sets whether the series connects data points with smooth lines.

Declaration

public void setSmooth(@Nullable Boolean value)

Parameters

Name Type Description
value

true to connect data points with smooth lines, false to connect data points with straight lines, or null to remove the series setting.

Remarks

If you do not call the setSmooth(value) method, the series does not specify this setting, and the getSmooth() method returns null.

Call the LineChartView.setSmooth(value) method to specify this setting for all series in a line chart view.