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:
Inherited Members
Inheritance
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. |