LineSeriesStyle Class

The storage of appearance parameters of a Line series.

Declaration

public class LineSeriesStyle
extends PointSeriesStyle

Remarks

The following image represents the Line series parameters that can be customized.

Line series style parameters

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

LineSeriesStyle() Constructor

Initializes a new LineSeriesStyle class instance with default parameters.

Declaration

public LineSeriesStyle()

Methods

LineSeriesStyle.getStroke() Method

Returns the Line series stroke color.

Declaration

public Integer getStroke()

Returns

Type Description
Integer

The color-int value that specifies the Line series stroke color.

LineSeriesStyle.getStrokeThickness() Method

Returns the stroke thickness of the Line series.

Declaration

public Float getStrokeThickness()

Returns

Type Description
Float

The stroke thickness in pixels.

LineSeriesStyle.setStroke(Integer) Method

Specifies the Line series stroke color.

Declaration

public void setStroke(Integer stroke)

Parameters

Type Name Description
Integer stroke

The color-int value that specifies the Line series stroke color.

LineSeriesStyle.setStrokeThickness(Float) Method

Specifies the stroke thickness of the Line series.

Declaration

public void setStrokeThickness(Float strokeThickness)

Parameters

Type Name Description
Float strokeThickness

The stroke thickness in pixels.