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