Skip to main content

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)(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)

LineSeriesStyle()

Initializes a new LineSeriesStyle class instance with default parameters.

Declaration

public LineSeriesStyle()

Methods

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.

getStrokeThickness() Method

Returns the stroke thickness of the Line series.

Declaration

public Float getStrokeThickness()

Returns

Type Description
Float

The stroke thickness in pixels.

setStroke(Integer) Method

Specifies the Line series stroke color.

Declaration

public void setStroke(Integer stroke)

Parameters

Name Type Description
stroke Integer

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

setStrokeThickness(Float) Method

Specifies the stroke thickness of the Line series.

Declaration

public void setStrokeThickness(Float strokeThickness)

Parameters

Name Type Description
strokeThickness Float

The stroke thickness in pixels.