PieBarLabelDisplay

 

When the GraphType property selects a Pie-Bar chart (setGraphType(93);), this property enables/disables the pie-bar label display.

Data Type:

boolean

Range:

true / false

true=

Display Pie-Bar chart label

false=

Do not diplay Pie-Bar chart label

Default:

true

Syntax:

PieBarLabelDisplay( true | false );

 

boolean = getPieBarLabelDisplay();

Example:

perspective1.setPieBarLabelDisplay(true);
perspective1.setPieBarLabelString("PieBarLabel");
perspective1.setGraphType(93);

 

 

perspective1.setPieBarLabelDisplay(false);
perspective1.setPieBarLabelString("PieBarLabel");
perspective1.setGraphType(93);

 

Also See:

PieBarLabelString();

PieBarLabelString

 

When the GraphType property selects a Pie-Bar chart (setGraphType(93);), this property defines the Pie-Bar label string displayed by the PieBarLabelDisplay property.

Data Type:

String

Range:

Any printable characters

Default:

null string

Syntax:

PieBarLabelString("string");

 

string = getPieBarLabelString();

Example:

perspective1.setPieBarLabelDisplay(true);
perspective1.setPieBarLabelString("PieBarLabel");
perspective1.setGraphType(93);

 

Also See:

PieBarLabelDisplay();

PieBarSeries

 

When the GraphType property selects a Pie-Bar chart (setGraphType(93);), this property selects the series from which the bar is charted.

Data Type:

Integer

Range:

0...# of Series in Chart

Default:

Zero

Syntax:

setPieBarSeries ( value );

 

value = getPieBarSeries();

Example:

perspective1.setGraphType(93);
perspective1.setPieBarSeries(1);

 

 

perspective1.setGraphType(93);
perspective1.setPieBarSeries(3);

 

 

 

PieDepth

 

This property specifies the depth of the crust in a pie chart. The GraphType property must be set to one of the pie charts (55...60)

Data Type:

Integer

Range:

0...100

Default:

30

Syntax:

setPieDepth ( value );

 

value = getPieDepth ();

Example:

perspective1.setGraphType(55);
perspective1.setPieDepth(90);

 

 

perspective1.setPieDepth(15);

 

Also See:

PieRotate, PieTilt

PieFeelerTextDisplay

 

This property enables (true) / disables (false) the display of feelers and data text in a pie chart.

Data Type:

Integer

Range:

0...3

 

0=

No labels

 

1=

Show feeler lines and text

 

2=

Labels only, no feeler lines

 

3=

Labels on slices

Default:

1 (Display text and feeler lines)

Syntax:

setPieFeelerTextDisplay ( value );

 

value = getPieFeelerTextDisplay();

Example:

perspective1.setGraphType(55);
perspective1.setPieFeelerTextDisplay(2);
perspective1.setPieDepth(60);

 

 

perspective1.setPieFeelerTextDisplay(3);

 

Notes:

The PieFeelerTextFormat, PieFeelerTextFormatPattern, and PieLabelDisplay properties determine the format of data text displayed next to feelers when this property is enabled.

Also See:

PieFeelerTextFormat, PieFeelerTextFormatPattern, PieLabelDisplay

PieFeelerTextFormat

 

This property is used to select a standard preset format for data values that may be drawn next to feelers in a pie chart. Set this property to minus one and use PieFeelerTextFormatPattern if you want to define a standard-Java format pattern. The PieLabelDisplay property determines the information that is displayed (i.e., percent value, absolute values, series label, etc.). When this property is used, the GraphType property must be set to one of the pie charts (55...60).

Data Type:

Integer

Range:

-1...17

 

Value

Format (Example)

 

-1

Use the pattern defined by PieFeelerTextFormatPattern

 

0=

General (Example: 123 = 123)

 

1=

# (Example: 123 = 123)

 

2=

#% (Example: 123 = 12,300%)

 

3=

#.#% (Example: 123 = 12,300.0%)

 

4=

#.##% (Example: 123 = 12,300.00%)

 

5=

$#.## (Example: 123 = $123.00)

 

6=

$# (Example: 123 = $123)

 

7=

#K (Example: 1,234 = 1K)

 

8=

$#K (Example: 1,234 = $1K)

 

9=

#M (Example: 1,234,567 = 1M)

 

10=

$#M (Example: 1,234,567 = $1M)

 

11=

#B (Example: 1,234,567,891 = 1B)

 

12=

$#B (Example: 1,234,567,891 = $1B)

 

13=

#T (Example: 1,234,567,891,234 = 1T)

 

14=

$#T (Example: 1,234,567,891,234 = $1T)

 

15=

show number with thousand separators no decimals (Example: 1,234=1K)

 

16=

show number with thousand separators two decimals (Example: 1,234=1.23K)

 

17=

General currency format for current Locale

Default:

2 (#%)

Syntax:

setPieFeelerTextFormat ( value );

 

value = getPieFeelerTextFormat ();

Example:

perspective1.setPieTilt(5);
perspective1.setPieRingTotalFormat(1);
perspective1.setGraphType(56);
perspective1.setPieRingSize(60);
perspective1.setPieFeelerTextFormat(3);

Also See:

PieFeelerTextDisplay, PieFeelerTextFormatPattern, PieLabelDisplay

PieFeelerTextFormatPattern

 

When PieFeelerTextFormat is set to minus one (custom), this property is used to specify a standard Java number format pattern for data text values.

Data Type:

String

Range:

A pattern string in the following format:

 

pattern:= subpattern{;subpattern}

 

subpattern:= {prefix}integer{.fraction}{suffix}

 

prefix:= '\\u0000'..'\\uFFFD' - specialCharacters

 

suffix:= '\\u0000'..'\\uFFFD' - specialCharacters

 

integer:= '#'* '0'* '0'

 

fraction:= '0'* '#'*

 

See Chapter 3 for more detailed information about this format pattern.

Default:

"#.#"

Syntax:

setPieFeelerTextFormatPattern ( pattern );

 

pattern = getPieFeelerTextFormatPattern();

Example:

perspective1.setPieFeelerTextFormatPattern("##.###");
perspective1.setGraphType(56);
perspective1.setPieRingSize(60);
perspective1.setPieFeelerTextFormat(-1);

 

 

perspective1.setPieFeelerTextFormatPattern("##.####");

 

Also See:

PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay

PieLabelDisplay

 

This property determines the format of labels displayed next to feelers in a pie chart. The GraphType property must be set to one of the pie charts (55...60).

Data Type:

Integer

Range:

0...3

 

0=

Absolute (true) value of slice

 

1=

Percent value of slice

 

2=

Series Label

 

3=

Series Label and Percent value

Default:

1 (Percent Value of Slice)

Syntax:

setPieLabelDisplay ( value );

 

value = getPieLabelDisplay();

Example:

perspective1.setGraphType(55);
perspective1.setPieLabelDisplay(2);
perspective1.setPieDepth(60);

 

 

perspective1.setPieLabelDisplay(3);

 

Also See:

PieFeelerTextDisplay, PieFeelerTextFormat, PieFeelerTextFormatPattern

PieRingSize

 

This property determines the relative size of the ring (inner circle) in a ring pie. The GraphType property must be set to one of the pie ring charts (56, 58, or 60).

Data Type:

Integer

Range:

0...100

Default:

30

Syntax:

setPieRingSize ( value );

 

value = getPieRingSize ();

Example:

perspective1.setGraphType(56);
perspective1.setPieRingSize(60);

 

 

perspective1.setPieRingSize(15);

 

Also See:

PieRingTotalDisplay, PieRingTotalFormat, PieRingTotalFormatPattern

PieRingTotalDisplay

 

This property enables (true) / disables (false) the display of a total value in the center of a pie ring chart. The GraphType property must be set to one of the pie ring charts (56, 58, or 60). The PieRingTotalFormat property determines the format of the total value that is displayed.

Data Type:

Boolean

Range:

true / false

 

true=

Display total

 

false=

Do not display total

Default:

true

Syntax:

setPieRingTotalDisplay ( true | false );

 

boolean = getPieRingTotalDisplay();

Example:

perspective1.setGraphType(56);
perspective1.setPieRingTotalDisplay(true);
perspective1.setPieRingSize(60);

 

 

perspective1.setPieRingTotalDisplay(false);

 

Also See:

PieRingSize, PieRingTotalFormat, PieRingTotalFormatPattern

PieRingTotalFormat

 

When the PieRingTotalDisplay property is set to true and the total data value is displayed in the center of a ring pie chart, this property can be used to define the format of the data value. This property selects one of the standard preset formats. See the PieRingTotalFormatPatten property to specify a standard Java number format pattern.

Data Type:

Integer

Range:

-1...17

 

Value

Format (Example)

 

-1

Use the pattern defined by PieRingTotalFormatPattern

 

0=

General (Example: 123 = 123)

 

1=

# (Example: 123 = 123)

 

2=

#% (Example: 123 = 12,300%)

 

3=

#.#% (Example: 123 = 12,300.0%)

 

4=

#.##% (Example: 123 = 12,300.00%)

 

5=

$#.## (Example: 123 = $123.00)

 

6=

$# (Example: 123 = $123)

 

7=

#K (Example: 1,234 = 1K)

 

8=

$#K (Example: 1,234 = $1K)

 

9=

#M (Example: 1,234,567 = 1M)

 

10=

$#M (Example: 1,234,567 = $1M)

 

11=

#B (Example: 1,234,567,891 = 1B)

 

12=

$#B (Example: 1,234,567,891 = $1B)

 

13=

#T (Example: 1,234,567,891,234 = 1T)

 

14=

$#T (Example: 1,234,567,891,234 = $1T)

 

15=

show number with thousand separators no decimals (Example: 1,234=1K)

 

16=

show number with thousand separators two decimals (Example: 1,234=1.23K)

 

17=

General currency format for current Locale

Default:

Zero (General)

Syntax:

setPieRingTotalFormat ( value );

 

value = getPieRingTotalFormat();

Example:

perspective1.setPieRingTotalFormat(1);
perspective1.setGraphType(56);
perspective1.setPieRingSize(60);

 

Also See:

PieRingSize, PieRingTotalDisplay, PieRingTotalFormatPattern

PieRingTotalFormatPattern

 

When the PieRingTotalDisplay property is set to true and the total data value is displayed in the center of a ring pie chart, this property can be used to define the format of the data value. This property is used to specify a standard Java number format pattern. See the PieRingTotalFormat property to select one of the standard preset formats.

Data Type:

String

Range:

A pattern string in the following format:

 

pattern:= subpattern{;subpattern}

 

subpattern:= {prefix}integer{.fraction}{suffix}

 

prefix:= '\\u0000'..'\\uFFFD' - specialCharacters

 

suffix:= '\\u0000'..'\\uFFFD' - specialCharacters

 

integer:= '#'* '0'* '0'

 

fraction:= '0'* '#'*

 

See Chapter 3 for more detailed information about this format pattern.

Default:

"#.#"

Syntax:

setPieRingTotalFormatPattern ( patternString );

 

patternString = getPieRingTotalFormatPattern ();

Example:

perspective1.setPieRingTotalFormat(-1);
perspective1.setGraphType(56);
perspective1.setPieRingSize(60);
perspective1.setPieRingTotalFormatPattern("$###,###");

 

Also See:

PieRingSize, PieRingTotalDisplay, PieRingTotalFormat

PieRotate

 

This property rotates a pie chart a specified number of degrees.

Data Type:

Integer

Range:

0...359

Default:

Zero

Syntax:

setPieRotate ( value );

 

value = getPieRotate ();

Example:

perspective1.setGraphType(55);
perspective1.setPieRotate(90);

 

 

perspective1.setPieRotate(180);

 

Also See:

PieDepth, PieTilt

PiesPerRow

 

This property specifies the number of pies to be drawn in a row in multi-pie charts.

Data Type:

Integer

Range:

1...32

Default:

2

Syntax:

setPiesPerRow ( value );

 

value = getPiesPerRow ();

Example:

perspective1.setPieTilt(5);
perspective1.setGraphType(57);
perspective1.setPiesPerRow(5);

 

 

perspective1.setPiesPerRow(3);

 

PieTilt

 

This property tilts a pie chart a specified number of degrees.

Data Type:

Integer

Range:

0...100

Default:

10

Syntax:

setPieTilt ( value );

 

value = getPieTilt ();

Example:

perspective1.setPieTilt(45);
perspective1.setGraphType(55);

 

 

perspective1.setPieTilt(5);

 

Also See:

PieDepth, PieRotate