com.crystaldecisions.sdk.occa.report.definition
Class ChartType

java.lang.Object
  extended by com.crystaldecisions.sdk.occa.report.definition.ChartType

public final class ChartType
extends java.lang.Object

This class is used to specify the area in the report in which the chart is located.


Field Summary
static int _crossTab
           Charts based on a cross-tab.
static int _detail
           Charts based on a detail field.
static int _group
           Charts based on a group field.
static int _OLAP
           Charts based on an OLAP grid.
static ChartType crossTab
           A ChartType object that specifies charting based on a cross-tab.
static ChartType detail
           A ChartType object that specifies charting based on a detail field.
static ChartType group
           A ChartType object that specifies charting based on a group field.
static ChartType OLAP
           A ChartType object that specifies charting based on an OLAP grid.
 
Method Summary
static ChartType from_int(int i)
           Returns the ChartType object corresponding to the specified value.
static ChartType from_string(java.lang.String sVal)
           Returns the ChartType object corresponding to the specified type.
 java.lang.String toString()
           Returns the String value of this ChartType object.
 int value()
           Returns the int value of this ChartType object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

_group

public static final int _group

Charts based on a group field.

See Also:
Constant Field Values

_detail

public static final int _detail

Charts based on a detail field.

See Also:
Constant Field Values

_crossTab

public static final int _crossTab

Charts based on a cross-tab. Use the Cross-Tab layout to chart on a Cross-Tab object. A Cross-Tab chart uses the fields in the cross-tab for its condition and summary fields.

See Also:
Constant Field Values

_OLAP

public static final int _OLAP

Charts based on an OLAP grid. Use the OLAP layout to chart on an OLAP grid. An OLAP chart uses the fields in the OLAP grid for its condition and summary fields.

See Also:
Constant Field Values

group

public static final ChartType group

A ChartType object that specifies charting based on a group field.


detail

public static final ChartType detail

A ChartType object that specifies charting based on a detail field.


crossTab

public static final ChartType crossTab

A ChartType object that specifies charting based on a cross-tab. Use the Cross-Tab layout to chart on a Cross-Tab object. A Cross-Tab chart uses the fields in the cross-tab for its condition and summary fields.


OLAP

public static final ChartType OLAP

A ChartType object that specifies charting based on an OLAP grid. Use the OLAP layout to chart on an OLAP grid. An OLAP chart uses the fields in the OLAP grid for its condition and summary fields.

Method Detail

from_int

public static final ChartType from_int(int i)

Returns the ChartType object corresponding to the specified value.

Parameters:
i - The int value of the desired ChartType object.
Returns:
The ChartType object corresponding to the specified value.

from_string

public static final ChartType from_string(java.lang.String sVal)

Returns the ChartType object corresponding to the specified type.

Parameters:
sVal - The String value of the desired ChartType object.
Returns:
The ChartType object corresponding to the specified type.

toString

public java.lang.String toString()

Returns the String value of this ChartType object.

Overrides:
toString in class java.lang.Object
Returns:
The String value of this ChartType object.

value

public int value()

Returns the int value of this ChartType object.

Returns:
The int value of this ChartType object.