Skip to main content

Bar3DChartView Class

Contains settings that apply to 3D bar and column series in a chart view.

Declaration

public class Bar3DChartView extends BarChartViewBase

Remarks

Call the Bar3DChartView.setBarDirection(value) method to display vertical columns or horizontal bars and the setBarShapeType(BarChartShapeType value) method to specify the bar shape (for example, a cylinder or a pyramid).

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)
See Also

Bar3DChartView()

Initializes a new instance of the Bar3DChartView class.

Declaration

public Bar3DChartView()

Methods

getBarShapeType() Method

Returns the bar shape for all series in the view.

Declaration

public BarChartShapeType getBarShapeType()

Returns

Type Description
BarChartShapeType

The bar shape.

getChartType() Method

Returns the chart type of the view.

Declaration

public ChartType getChartType()

Returns

Type Description
ChartType

The 3D bar chart type (ChartType.BAR_3_D).

getGapDepth() Method

Returns the distance between series in the depth direction.

Declaration

public int getGapDepth()

Returns

Type Description
int

The depth gap between series (from 0 to 500).

setBarShapeType(BarChartShapeType value) Method

Sets the bar shape for all series in the view.

Declaration

public void setBarShapeType(BarChartShapeType value)

Parameters

Name Type Description
value BarChartShapeType

The bar shape.

Remarks

The setBarShapeType(value) method accepts the following values:

Value Description
AUTO Indicates the default bar shape.
BOX Indicates box-shaped bars.
CONE Indicates cone-shaped bars.
CONE_TO_MAX Indicates cone-shaped bars truncated at data point values.
CYLINDER Indicates cylinder-shaped bars.
PYRAMID Indicates pyramid-shaped bars.
PYRAMID_TO_MAX Indicates pyramid-shaped bars truncated at data point values.

If you do not call the setBarShapeType(value) method, the API uses BarChartShapeType.BOX.

setGapDepth(int value) Method

Sets the distance between series in the depth direction.

Declaration

public void setGapDepth(int value)

Parameters

Name Type Description
value int

The depth gap between series (from 0 to 500).

Exceptions

Type Description
ArgumentOutOfRangeException

Thrown if the value parameter is less than 0 or greater than 500.

Remarks

The value range is from 0 to 500. If you do not call the setGapDepth(value) method, the API uses 150.