Skip to main content

BarSeriesStyle Class

The bar series appearance settings’ storage.

Declaration

public class BarSeriesStyle
extends StyleBase

Remarks

The following image shows the Bar series’s appearance parameters that can be modified.

The Bar series appearance parameters' settings

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)

Inheritance

BarSeriesStyle()

Initializes a new BarSeriesStyle class instance with default parameters.

Declaration

public BarSeriesStyle()

Methods

getFill() Method

Returns the bars’ fill color.

Declaration

public Integer getFill()

Returns

Type Description
Integer

The bars’ fill color as a color-int value.

getStroke() Method

Returns the bars’ stroke color as a color-int value.

Declaration

public Integer getStroke()

Returns

Type Description
Integer

A value specifying the bars’ stroke color.

getStrokeThickness() Method

Returns the bars’ stroke thickness.

Declaration

public Float getStrokeThickness()

Returns

Type Description
Float

The bars’ stroke thickness, in pixels.

setFill(Integer) Method

Specifies the bars’ fill color.

Declaration

public void setFill(Integer color)

Parameters

Name Type Description
color Integer

The bars’ fill color as a color-int value.

setStroke(Integer) Method

Specifies the bars’ stroke color as a color-int value.

Declaration

public void setStroke(Integer stroke)

Parameters

Name Type Description
stroke Integer

A value specifying the bars’ stroke color.

setStrokeThickness(Float) Method

Specifies the bars’ stroke thickness.

Declaration

public void setStrokeThickness(Float strokeThickness)

Parameters

Name Type Description
strokeThickness Float

The bars’ stroke thickness, in pixels.