BarSeriesStyle Class

The bar series appearance settings' storage.

Declaration

public class BarSeriesStyle
extends StyleBase

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

The Bar series appearance parameters' settings

Inheritance

Object
ChartElement
StyleBase
BarSeriesStyle

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

BarSeriesStyle() Constructor

Initializes a new BarSeriesStyle class instance with default parameters.

Declaration

public BarSeriesStyle()

Methods

Constructors

BarSeriesStyle.getFill() Method

Returns the bars' fill color.

Declaration

public Integer getFill()

Returns

Type Description
Integer

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

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

BarSeriesStyle.getStrokeThickness() Method

Returns the bars' stroke thickness.

Declaration

public Float getStrokeThickness()

Returns

Type Description
Float

The bars' stroke thickness, in pixels.

BarSeriesStyle.setFill(Integer) Method

Specifies the bars' fill color.

Declaration

public void setFill(Integer color)

Parameters

Type Name Description
Integer color

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

BarSeriesStyle.setStroke(Integer) Method

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

Declaration

public void setStroke(Integer stroke)

Parameters

Type Name Description
Integer stroke

A value specifying the bars' stroke color.

BarSeriesStyle.setStrokeThickness(Float) Method

Specifies the bars' stroke thickness.

Declaration

public void setStrokeThickness(Float strokeThickness)

Parameters

Type Name Description
Float strokeThickness

The bars' stroke thickness, in pixels.