BarSeriesBase Class
The base class for all Bar series types.
Declaration
public abstract class BarSeriesBase
extends Series
Inherited Members
Inheritance
BarSeriesBase()
Initializes a new BarSeriesBase class instance with default parameters.
Declaration
public BarSeriesBase()
Methods
getBarWidth() Method
Returns a bar’s width.
Declaration
public double getBarWidth()
Returns
Type | Description |
---|---|
double | The bar’s width, in arguments axis units. |
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. |
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. |
setBarWidth(double) Method
Specifies a bar’s width.
Declaration
public void setBarWidth(double barWidth)
Parameters
Name | Type | Description |
---|---|---|
barWidth | double | The bar’s width, in arguments axis units. |
setColorEach(boolean) Method
Specifies the value indicating whether bars have different fill colors.
Declaration
public void setColorEach(boolean value)
Parameters
Name | Type | Description |
---|---|---|
value | boolean | true if bars are colored in different colors; false bars are colored in a color assigned to the series. |
setStyle(BarSeriesStyle) Method
Specifies the Bar series style.
Declaration
public void setStyle(BarSeriesStyle style)
Parameters
Name | Type | Description |
---|---|---|
style | BarSeriesStyle | The BarSeriesStyle object specifying which style is applied to the series. |