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
Inheritance
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 ( |
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 |
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 |
Exceptions
| Type | Description |
|---|---|
| ArgumentOutOfRangeException | Thrown if the |
Remarks
The value range is from 0 to 500. If you do not call the setGapDepth(value) method, the API uses 150.