Skip to main content

BarSeriesBase Class

The base class for bar series.

Declaration

public abstract class BarSeriesBase extends SeriesBase

Remarks

BarSeries and Bar3DSeries classes derive from the BarSeriesBase class.

Refer to the following help topic for additional information: Create Standard Charts — Presentation API for Java.

Inherited Members

com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
See Also

Methods

getCustomDataPoints() Method

Returns appearance settings for individual series data points.

Declaration

public IDataPointDictionary getCustomDataPoints()

Returns

Type Description
IDataPointDictionary

A dictionary that maps zero-based data point indexes to data point settings.

Remarks

To customize an individual data point, add a DataPoint object to the dictionary that the getCustomDataPoints() method returns. The dictionary key is the zero-based index of the data point.

getInvertNegative() Method

Returns whether bars with negative values use inverted fill colors.

Declaration

public boolean getInvertNegative()

Returns

Type Description
boolean

true if bars with negative values use inverted fill colors; otherwise, false.

getPictureFillOptions() Method

Returns picture fill options for bars.

Declaration

public PictureFillOptions getPictureFillOptions()

Returns

Type Description
PictureFillOptions

Picture fill options, or null if the series has no picture fill options.

setInvertNegative(boolean value) Method

Sets whether bars with negative values use inverted fill colors.

Declaration

public void setInvertNegative(boolean value)

Parameters

Name Type Description
value boolean

true to invert fill colors of bars with negative values; otherwise, false.

Remarks

If you do not call the setInvertNegative(value) method, the API uses false.

To specify this setting for an individual data point, call the DataPoint.setInvertNegative(value) method.

setPictureFillOptions(PictureFillOptions value) Method

Sets picture fill options for bars.

Declaration

public void setPictureFillOptions(PictureFillOptions value)

Parameters

Name Type Description
value PictureFillOptions

Picture fill options.

Remarks

Call the PictureFillOptions(fillMode) constructor to stretch or stack pictures. Call the PictureFillOptions(unitsPerPicture) constructor to stack pictures and scale each picture to the specified number of value axis units.

Note

Picture fill options take effect when the series fill is a picture (PictureFill).