BarSeriesBase Class

The base class for all Bar series types.

Declaration

public abstract class BarSeriesBase
extends Series

Inheritance

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

BarSeriesBase() Constructor

Initializes a new BarSeriesBase class instance with default parameters.

Declaration

public BarSeriesBase()

Methods

Constructors

BarSeriesBase.getBarWidth() Method

Returns a bar's width.

Declaration

public double getBarWidth()

Returns

Type Description
double

The bar's width, in arguments axis units.

BarSeriesBase.getStyle() Method

Returns the Bar series style.

Declaration

public BarSeriesStyle getStyle()

Returns

Type Description
BarSeriesStyle

The BarSeriesStyle object specifying the style applied to the series.

BarSeriesBase.isColorEach() Method

Returns the value indicating whether bars have different fill colors.

Declaration

public boolean isColorEach()

Returns

Type Description
boolean

true if bars are colored in different colors; false bars are colored in a color assigned to the series.

BarSeriesBase.setBarWidth(double) Method

Specifies a bar's width.

Declaration

public void setBarWidth(double barWidth)

Parameters

Type Name Description
double barWidth

The bar's width, in arguments axis units.

BarSeriesBase.setColorEach(boolean) Method

Specifies the value indicating whether bars have different fill colors.

Declaration

public void setColorEach(boolean value)

Parameters

Type Name Description
boolean value

true if bars are colored in different colors; false bars are colored in a color assigned to the series.

BarSeriesBase.setStyle(BarSeriesStyle) Method

Specifies the Bar series style.

Declaration

public void setStyle(BarSeriesStyle style)

Parameters

Type Name Description
BarSeriesStyle style

The BarSeriesStyle object specifying which style is applied to the series.