MarkerSizeDefault


Description:
 

This property defines the size of markers in a 2D chart. The setMarkerSize() method can override this property by assigning a marker size to a specific series/group point.

Data Type:
 

Integer

Valid Range:
 

0...100

Default Value:
 

30

Example:

setMarkerSizeDefault ( 60 );

setMarkerSizeDefault ( 90 );

Syntax:
 

setMarkerSizeDefault ( value );
value = getMarkerSizeDefault();

Code Sample:
 

perspective1.setGraphType(41);
perspective1.setConnectLineMarkers(true);
perspective1.setMarkerSizeDefault(60);
perspective1.setUseSampleData(false);
perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);

Also See:
 

ConnectLineMarkers, ConnectScatterMarkers, MarkerDisplay, UseSeriesShapes, and the following methods in Chapter 8: get/setMarkerShape(),get/setMarkerSize(),get/setMarkerTemplate(),get/setMarkerTemplateIndex()

O1AxisLineDisplay


Description:
 

This property enables (true) / disables (false) the display of the O1 axis line. The value assigned to the O1AxisSide property determines the location of the O1 axis line. The O1 axis line is typically displayed on the bottom of a vertical chart or on the left side of a horizontal chart. The O1AxisSide property may be used to change the location of the O1 axis line. Because the O1 axis base line is typically at the base or side of the chart frame, the O1 axis line may not be visible even when this property is enabled. To make the O1 axis line wider and, therefore, more visable, use the getO1AxisLine() method to get the object ID of the line and the setLineWidth() method define the width of the line.

Data Type:
 

Boolean

Valid Range:
 

true (Display O1 axis line) / false (Do not display)

Default Value:
 

true

Example:

setO1AxisLineDisplay ( true );

setO1AxisLineDisplay ( false );

Syntax:
 

setO1AxisLineDisplay ( true | false );
boolean = getO1AxisLineDisplay();

Code Sample:
 

id = perspective1.getO1AxisLine();
perspective1.setLineWidth(id,10);
perspective1.setO1AxisLineDisplay(true);

Also See:
 

O1AxisSide, O1LabelDisplay, and the get/setAxisSide() and setLineWidth() methods in Chapter 8.

O1AxisSide


Description:
 

This property controls which side of the graph the primary ordinal (O1) axis will be imaged. It also determines where axis labels will be drawn when the O1LabelDisplay property is set to true. The primary ordinal axis is typically imaged at the bottom of the chart in vertical charts and on the left side of the chart in horizontal charts. This property lets you image the axis at the top of the chart, top and bottom of the chart, right side of the chart, or both sides of the chart.

Data Type:
 

Integer

Valid Range:
 

0-2

 
 

#

Description

 

0

Vertical: Bottom / Horizontal: Left

 

1

Vertical: Top / Horizontal: Right

 

2

Vertical: Top and Bottom / Horizontal: Right and Left

Default Value:
 

0 (bottom/left)

Example:

setO1AxisSide ( 1 );

setO1AxisSide ( 2 );

Syntax:
 

setO1AxisSide ( value );
value = getO1AxisSide();

Also See:
 

setO1AxisSide ( value );
value = getO1AxisSide();

O1ExcludeMaxLabel / O1ExcludeMinLabel


Description:
 

The O1ExcludeMaxLabel property enables (true) / disables (false) the display of the maximum label on the primary ordinal (O1) axis.

The O1ExcludeMinLabel property enables (true) / disables (false) the display of the minimum label on the primary ordinal (O1) axis.

Data Type:
 

Boolean

Valid Range:
 

O1ExcludeMaxLabel: true (exclude max label) / false (include max label)
O1ExcludeMinLabel: true (exclude min label) / false (include min label)

Default Value:
 

false

Example:

setO1ExcludeMaxLabel ( true );

setO1ExcludeMaxLabel ( false );

Syntax:
 

setO1ExcludeMaxLabel ( true | false );
boolean = getO1ExcludeMaxLabel ();

setO1ExcludeMinLabel ( true | false );
boolean = getO1ExcludeMinLabel ();

Also See:
 

get/setExcludeMaxLabel() and get/setExcludeMinLabel() methods in Chapter 8.

O1LabelAutofit / O1 LabelDisplay


Description:
 

The O1LabelAutofit property is used to automatically fit/size all text labels on the primary ordinal (O1) axis. When autofitting is enabled (the default), the font size of these objects cannot be changed to a size that is larger than the relative location/size of the object and objects around it. When autofitting is disabled, the font size can be set to any value allowing very large font sizes to overlap other objects in the graph.

The O1LabelDisplay property enables (true) / disables (false) the display of labels and the O1 title on the primary ordinal (O1) axis. The O1AxisSide property defines the location where labels are displayed.

Data Type:
 

Boolean

Valid Range:
 

O1LabelAutofit: true (autofit labels) / false (do not autofit labels)
O1LabelDisplay: true (display labels) / false (do not display labels)

Default Value:
 

true

Example:

setO1LabelDisplay ( true );

setO1LabelDisplay ( false );

Syntax:
 

setO1LabelAutofit ( true | false );
boolean = getO1LabelAutofit ();

setO1LabelDisplay ( true | false );
boolean = getO1LabelDisplay ();

Notes:
 

When this property is enabled, font size changes are ignored. Typically, your user interface should gray-out font size menu selections when this property is enabled.

Also See:
 

O1AxisSide, O1LabelRotate, O1LabelStagger, O1LabelWrap

O1LabelRotate


Description:
 

This property sets an angle (in degrees) at which labels on the primary ordinal (O1) axis are rotated.

Data Type:
 

Integer

Valid Range:
 

0-2

 
 

#

Description

 

0

No text rotation

 

1

Rotate text 90 degrees (reads top to bottom)

 

2

Rotate text 270 degrees (reads bottom to top)

Default Value:
 

Zero (Not Rotated)

Syntax:
 

setO1LabelRotate ( value );
value = getO1LabelRotate();

Code Sample:
 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(426,266);
perspective1 = new TDG.Perspective();
perspective1.setO1LabelWrap(true);
perspective1.setDepthAngle(0);
perspective1.setO1LabelStagger(true);
perspective1.setO1AxisLineDisplay(false);
perspective1.setO1LabelRotate(1);
perspective1.setDepthRadius(0);
perspective1.setBounds(0,0,426,266);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

O1AxisSide, O1LabelAutofit, O1LabelDisplay, O1LabelStagger, O1LabelWrap

O1LabelStagger


Description:
 

This property specifies whether or not text for this graph axis should be staggered. Staggered labels are drawn in a zig-zag fashion, with labels weaving in and under each other. This property only applies to 2D graphs, staggered labels are not supported in 3D graphs.

Data Type:
 

Boolean

Valid Range:
 

true (Stagger the labels) / false (draw them as normal)

Default Value:
 

false

Example:

setO1LabelStagger ( true );

setO1LabelStagger ( false );

Syntax:
 

setO1LabelStagger ( true | false );
boolean = getO1LabelStagger ();

Code Sample:
 

import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(426,266);
perspective1 = new TDG.Perspective();
perspective1.setO1LabelStagger(true);
perspective1.setBounds(0,0,426,266);
add(perspective1);
}
TDG.Perspective perspective1;
}

Notes:
  This property is not supported in 3D charts.
Also See:
 

O1AxisSide, O1LabelAutofit, O1LabelDisplay, O1LabelRotate, O1LabelWrap and the get/setLabelStagger method in Chapter 8.

O1LabelWrap


Description:
 

This property controls whether header labels may have more than 1 line on a primary ordinal (O1) axis.The system calculates line length by breaking up the line of text at word boundaries. It divides the longest label by a specified number of lines. The resulting value tells the system the "minimum characters per line". Space characters at the end of a line are ignored.

Data Type:
 

Boolean

Valid Range:
 

true (Enable automatic line wrapping) / false (Labels are drawn on one line)

Default Value:
 

false (label wrap mode is off)

Example:

setO1LabelWrap ( true );

setO1LabelWrap ( false );

Syntax:
 

setO1LabelWrap( true | false );
boolean = getO1LabelWrap ();

Also See:
 

O1AxisSide, O1LabelAutofit, O1LabelDisplay, O1LabelRotate, O1LabelStagger.

O1MajorGridDisplay / O1MajorGridStyle


Description:
 

The O1MajorGridDisplay property enables (true) / disables (false) the display of major grid lines on the primary ordinal (O1) axis grid (i.e., lines attached to a text-based axis, like the "bottom" axis of a bar graph).

The O1MajorGridStyle property controls the style of major grid lines that are shown on the primary ordinal (O1) axis (i.e., lines attached to a text-based axis, like the "bottom" axis of a bar graph). The O1AxisSide property determines the location where grids/ticks are displayed.

Data Type:
 

O1MajorGridDisplay: Boolean
O1MajorGridStyle: Integer

Valid Range:
 

O1MajorGridDisplay: true (display major grid lines) / false (do not display)
O1MajorGridStyle: 0-4

 

#

Description

 

0

Normal grid lines, height of frame

 

1

Normal grid lines extend beyond the height of frame

 

2

Small tick marks from frame edge inward

 

3

Small tick marks from frame edge outward

 

4

TickIn and TickOut span across the frame edge

Default Value:
 

O1MajorGridDisplay: true
O1MajorGridStyle: 0

Example:

setO1MajorGridStyle ( 3 );

setO1MajorGridStyle ( 4 );

Syntax:
 

setO1MajorGridDisplay ( true | false );
boolean = getO1MajorGridDisplay ();

setO1MajorGridStyle ( value );
value = getO1MajorGridStyle();

Also See:
 

O1AxisSide, O1MinorGridDisplay, O1MinorGridStyle, and the get/setGridStyle() method in Chapter 8.

O1MinorGridCount


Description:
 

This property controls the number of minor grid lines between the major grid lines on the O1 axis.

Data Type:
 

Integer

Valid Range:
 

1...50

Default Value:
 

1

Syntax:
 

setO1MinorGridCount ( value );
value = getO1MinorGridCount ();

Code Sample:
 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
(
setLayout(null);
setSize(426,266);
perspective1 = new TDG.Perspective();
perspective1.setO1MinorGridCount(20);
perspective1.setDepthAngle(0);
perspective1.setY1ZeroLineDisplay(false);
perspective1.setY1MajorGridDisplay(false);
perspective1.setGraphType(42);
perspective1.setO1MinorGridStyle(1);
perspective1.setO1AxisLineDisplay(false);
perspective1.setO1MinorGridDisplay(true);
perspective1.setO1MajorGridDisplay(false);
perspective1.setDepthRadius(0);
perspective1.setBounds(0,0,426,266);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

get/setGridCount() in Chapter 8

O1MinorGridDisplay / O1 MinorGridStyle


Description:
 

The O1MinorGridDisplay property enables (true) / disables (false) the display of minor grid lines on the primary ordinal (O1) axis grid (i.e., lines attached to a text-based axis, like the "bottom" axis of a bar graph).

The O1MinorGridStyle property controls the style of the minor grid lines on the primary ordinal (O1) axis.

Data Type:
 

O1MinorGridDisplay: Boolean
O1MinorGridStyle: Integer

Valid Range:
 

O1MinorGridDisplay: true (display minor grid lines) / false (do not display)
O1MinorGridStyle: 0-4

 

#

Description

 

0

Normal grid lines, height of frame

 

1

Normal grid lines extend beyond the height of frame

 

2

Small tick marks from frame edge inward

 

3

Small tick marks from frame edge outward

 

4

TickIn and TickOut span across the frame edge

Default Value:
 

O1MinorGridDisplay: false
O1MinorGridStyle: 0

Syntax:
 

setO1MinorGridDisplay ( true | false );
boolean = getO1MinorGridDisplay ();

setO1MinorGridStyle ( value );
value = getO1MinorGridStyle ();

Code Sample:
 

import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
(
setLayout(null);
setSize(426,266);
perspective1 = new TDG.Perspective();
perspective1.setO1MinorGridCount(20);
perspective1.setDepthAngle(0);
perspective1.setY1MajorGridDisplay(false);
perspective1.setGraphType(42);
perspective1.setO1MinorGridStyle(1);
perspective1.setO1MinorGridDisplay(true);
perspective1.setO1MajorGridDisplay(false);
perspective1.setDepthRadius(0);
perspective1.setBounds(0,0,426,266);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

O1AxisSide, O1MajorGridDisplay, O1MajorGridStyle, and the get/setGridStyle() method in Chapter 8.

O1TitleAutofit / Display / String


Description:
 

The O1TitleAutofit property determines whether or not the O1 title string is autofitted.

The O1TitleDisplay property determines whether or not the string of characters assigned to the O1TitleString property is displayed in the graph. Note that the O1LabelDisplay property MUST also be set to true in order for the axis title to be displayed.

The O1TitleString property defines the O1 title string displayed by the O1TitleDisplay property.

Data Type:
 

O1TitleAutofit: Boolean
O1TitleDisplay: Boolean
O1TitleString: String

Valid Range:
 

O1TitleAutofit: true (autofit title) / false (do not autofit title)
O1TitleDisplay: true (display title) / false (do not display title)
O1TitleString: any printable characters

Default Value:
 

O1TitleAutofit: true
O1TitleDisplay: false (axis title is not displayed)
O1TitleString: null string

Example:

setO1TitleAutofit ( true );

setO1TitleAutofit ( false );

Syntax:
 

setO1TitleAutofit ( true | false ); / boolean = getO1TitleAutofit ();
setO1TitleDisplay ( true | false ); / boolean = getO1TitleDisplay ();
setO1TitleString ( "string"); / string = getO1TitleString ();

Notes:
 

The O1AxisSide property determines where the O1TitleString is drawn in chart. Also note that setting any string to O1TitleString will automatically set O1TitleDisplay to true.

Also See:
 

O1LabelDisplay, O1AxisSide

O2ExcludeMaxLabel / O2ExcludeMinLabel


Description:
 

Both of these properties apply to 3D graphs only.

The O2ExcludeMaxLabel property enables (true) / disables (false) the display of the maximum label on the secondary ordinal (O2) axis.

The O2ExcludeMinLabel property enables (true) / disables (false) the display of the minimum label on the secondary ordinal (O2) axis.

Data Type:
 

Boolean

Valid Range:
 

O2ExcludeMaxLabel: true (exclude max label) / false (include max label)
O2ExcludeMinLabel: true (exclude min label) / false (include min label)

Default Value:
 

false

Syntax:
 

setO2ExcludeMaxLabel ( true | false );
boolean = getO2ExcludeMaxLabel ();

setO2ExcludeMinLabel ( true | false );
boolean = getO2ExcludeMinLabel ();

Also See:
 

get/setExcludeMaxLabel() and get/setExcludeMinLabel() in Chapter 8

O2LabelAutofit / O2LabelDisplay


Description:
 

These properties are only applicable to 3D graphs.

The O2LabelAutofit property is used to automatically fit/size all text labels on the secondary ordinal (O2) axis. When autofitting is enabled (the default), the font size of these objects cannot be changed to a size that is larger than the relative location/size of the object and objects around it. When autofitting is disabled, the font size can be set to any value allowing very large font sizes to overlap other objects in the graph.

The O2LabelDisplay property enables (true) / disables (false) the display of labels on the secondary ordinal (O2) axis.

Data Type:
 

Boolean

Valid Range:
 

O2LabelAutofit: true (autofit labels) / false (do not autofit labels)
O2LabelDisplay: true (display labels) / false (do not display labels)

Default Value:
 

true

Syntax:
 

setO2LabelAutofit ( true | false );
boolean = getO2LabelAutofit ();

setO2LabelDisplay ( true | false );
boolean = getO2LabelDisplay ();

Notes:
 

When the O2LabelAutofit property is enabled, font size changes are ignored. Typically, your user interface should gray-out font size menu selections when this property is enabled.

Also See:
 

O2LabelWrap

O2LabelRotate


Description:

 

This property is only used for 3D charts. It property sets an angle at which labels on the secondary ordinal (O2) axis are rotated.

Data Type:

 

Integer

Valid Range:

 

0-2

 
 

#

Description

 

0

No text rotation

 

1

Rotate text 90 degrees (reads top to bottom)

 

2

Rotate text 270 degrees (reads bottom to top)

Default Value:

 

Zero (Not Rotated)

Syntax:

 

setO2LabelRotate ( value );
value = getO2LabelRotate();

Code Sample:

 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(426,266);
perspective1 = new TDG.Perspective();
perspective1.setO2LabelWrap(true);
perspective1.setDepthAngle(0);
perspective1.setO2LabelRotate(1);
perspective1.setDepthRadius(0);
perspective1.setBounds(0,0,426,266);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:

 

O2LabelAutofit, O2LabelDisplay, O2LabelWrap

O2LabelWrap


Description:
 

This property applies to 3D charts only. It controls whether labels on this axis can be drawn on more than one line.

Data Type:
 

Boolean

Valid Range:
 

true (Enable automatic line wrapping) / false (Labels are drawn on one line)

Default Value:
 

false (label wrap mode is off)

Syntax:
 

setO2LabelWrap( true | false );
boolean = getO2LabelWrap();

Notes:
 

The text will be center aligned.

Also See:
 

O2LabelAutofit

O2TitleAutofit / Display / String


Description:
 

This property is for 3D charts only.

The O2TitleAutofit property determines whether or not the O2 title string is autofitted.

The O2TitleDisplay property determines whether or not the string of characters assigned to the O2TitleString property is displayed in the graph.

The O2TitleString property defines the O2 title string displayed by the O2TitleDisplay property. When a title string is defined with this property, the O2TitleDisplay property is automatically set to true.

Data Type:
 

O2TitleAutofit: Boolean
O2TitleDisplay: Boolean
O2TitleString: String

Valid Range:
 

O2TitleAutofit: true (autofit title string) / false (do not autofit title)
O2TitleDisplay: true (display title string) / false (do not display title string)
O2TitleString: any printable characters

Default Value:
 

O2TitleAutofit: true
O2TitleDisplay: false
O2TitleString: null string

Syntax:
 

setO2TitleAutofit ( true | false );
boolean = getO2TitleAutofit ();

setO2TitleDisplay ( true | false );
boolean = getO2TitleDisplay();

setO2TitleString ( "string");
string = getO2TitleString();

PieDepth


Description:
 

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

Data Type:
 

Integer

Valid Range:
 

0...100

Default Value:
 

30

Example:

setPieDepth ( 10 );

setPieDepth ( 100 );

Syntax:
 

setPieDepth ( value );
value = getPieDepth ();

Also See:
 

PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(), restoreAllSlices

PieFeelerTextDisplay


Description:
 

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

Data Type:
 

Integer

Valid Range:
 

0...3

 
 

Value

Description

 

0

No labels

 

1

Show feeler lines and text

 

2

Labels only, no feeler lines

 

3

Labels on slices

Default Value:
 

1 (Display text and feeler lines)

Example:

setPieFeelerTextDisplay ( 1 );

setPieFeelerTextDisplay ( 3 );

Syntax:
 

setPieFeelerTextDisplay ( value );
value = getPieFeelerTextDisplay();

Notes:
 

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

Also See:
 

PieDepth, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(),restoreAllSlices

PieFeelerTextFormat / PieFeelerTextFormatPattern


Description:
 

These properties and the PieLabelDisplay property determine the format of values that are drawn next to feelers in a pie chart. PieFeelerTextFormat can be used to select one of the standard preset formats. PieFeelerTextFormatPatten can be used to specify a standard Java number format pattern. The GraphType property must be set to one of the pie charts (55...60).

Data Type:
 

PieFeelerTextFormat: Integer
PieFeelerTextFormatPattern: String

Valid Range:
 

PieFeelerTextFormat: -1...14 (-1 = Use format set by PieFeelerTextFormatPattern)

 

Value

Format

Example

Value

Format

Example

 

0

General

560

8

$0K

$56K

 

1

0

560

9

0M

56M

 

2

0%

56%

10

$0M

$56M

 

3

0.0%

56.6%

11

0B

56B

 

4

0.00%

56.66%

12

$0B

$56B

 

5

$0.00

$56.66

13

0T

56T

 

6

$0

$56

14

$0T

$56T

 

7

0K

56K

     
 

PieFeelerTextFormatPattern: 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 Value:
 

PieFeelerTextFormat: 2
PieFeelerTextFormatPattern: "#.#"

Syntax:
 

setPieFeelerTextFormat ( value );
value = getPieFeelerTextFormat ();
setPieFeelerTextFormat ( patternString )
patternString = getPieFeelerTextFormatPattern():

Also See:
 

PieDepth, PieFeelerTextDisplay, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(), restoreAllSlices

PieLabelDisplay


Description:
 

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

Valid Range:
 

0...2

 
 

Value

Description

 

0

Absolute (true) value of slice

 

1

Percent value of slice

 

2

Series Label

 

3

Series Label and Percent value

Default Value:
 

1 (Value)

Example:

setPieLabelDisplay ( 2 );

setPieLabelDisplay ( 3 );

Syntax:
 

setPieLabelDisplay ( value );
value = getPieLabelDisplay ();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(),restoreAllSlices

PieRingSize


Description:
 

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

Valid Range:
 

0...100

Default Value:
 

55

Example:

setPieRingSize ( 10 );

setPieRingSize ( 60 );

Syntax:
 

setPieRingSize ( value );
value = getPieRingSize ();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(), restoreAllSlices

PieRingTotalDisplay


Description:
 

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

Valid Range:
 

true (Display total) / false (Do not display total)

Default Value:
 

true (Display total)

Example:

setPieRingTotalDisplay ( true );

setPieRingTotalDisplay ( false );

Syntax:
 

setPieRingTotalDisplay ( true | false );
boolean = getPieRingTotalDisplay ();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalFormat, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(), restoreAllSlices

PieRingTotalFormat / PieRingTotalFormatPattern


Description:
 

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

Data Type:
 

PieRingTotalFormat: Integer
PieRingTotalFormatPattern: String

Valid Range:
 

PieRingTotalFormat: -1...14 (-1 = Use format set by PieRingTotalFormatPattern)

 

Value

Format

Example

Value

Format

Example

 

0

General

560

8

$0K

$56K

 

1

0

560

9

0M

56M

 

2

0%

56%

10

$0M

$56M

 

3

0.0%

56.6%

11

0B

56B

 

4

0.00%

56.66%

12

$0B

$56B

 

5

$0.00

$56.66

13

0T

56T

 

6

$0

$56

14

$0T

$56T

 

7

0K

56K

     
 

PieRingTotalFormatPattern: 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 Value:
 

PieRingTotalFormat: Zero (General)
PieRingTotalFormatPattern: "#.#"

Syntax:
 

setPieRingTotalFormat ( value );
value = getPieRingTotalFormat();
setPieRingTotalFormatPattern ( patternString )
patternString = getPieRingTotalFormatPattern();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRotate, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(),restoreAllSlices

PieRotate


Description:
 

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

Data Type:
 

Integer

Valid Range:
 

0..359

Default Value:
 

0

Example:

setPieRotate (0);

setPieRotate (90);

Syntax:
 

setPieRotate ( value );
value = getPieRotate ();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieTilt, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(), restoreAllSlices

PieTilt


Description:
 

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

Data Type:
 

Integer

Valid Range:
 

0...100

Default Value:
 

15

Example:

setPieTilt ( 10 );

setPieTilt ( 50 );

Syntax:
 

setPieTilt ( value );
value = getPieTilt ();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PiesPerRow, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(),restoreAllSlices

PiesPerRow


Description:
 

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

Data Type:
 

Integer

Valid Range:
 

1...32

Default Value:
 

2

Example:

setPiesPerRow ( 1 );

setPiesPerRow ( 2 );

setPiesPerRow ( 3 );

setPiesPerRow ( 4 );

Syntax:
 

setPiesPerRow ( value );
value = getPiesPerRow ();

Also See:
 

PieDepth, PieFeelerTextDisplay, PieFeelerTextFormat, PieLabelDisplay, PieRingSize, PieRingTotalDisplay, PieRingTotalFormat, PieRotate, PieTilt, the GraphType property to select a pie chart, and the following methods in Chapter 8: get/setPieSliceDelete(), get/setPieSliceDetach(), restoreAllSlices

ReshapeEnable


Description:
 

This property enables (true) / disables (false) the user's ability to move and resize title, subtitle, footnote, chart frame, and legend box objects in a chart.

Data Type:
 

Boolean

Valid Range:
 

true (User can move/resize objects) / false (Objects cannot be moved/resized by user)

Default Value:
 

true

Syntax:
 

setReshapeEnable ( true | false );
boolean = getReshapeEnable();

Also See:
 

ResizeBarMode, SelectionEnable, SelectionEnableMove

ResizeBarMode


Description:
 

This property enables (true) / disables (false) resize bar mode. When it is enabled, the user interface will allow resizing of bars. The user can change the size of bars by using the control key and the mouse to stretch or reduce the size of the bars. This action will also change the internal data value assigned to the bar. The getDataValue() method can be used to get the new data value. If data call backs are being used to provide data input to the chart (see Chapter 6), any resize operation will be reset to the value provided by the data call back. When this property is disabled, the user cannot resize bars. This property is only applicable to 2D and 2.5D bar charts, it is not supported for 3D risers.

Data Type:
 

Boolean

Valid Range:
 

true (User interface can resize bars) / false (Do not allow resizing of bars)

Default Value:
 

false

Syntax:
 

setResizeBarMode ( true | false );
boolean = getResizeBarMode();

Also See:
 

ReshapeEnable, SelectionEnable, SelectionEnableMove

ReverseGroups


Description:
 

This property enables (true) / disables (false) the display of groups in reverse order.

Data Type:
 

Boolean

Valid Range:
 

true (Draw groups in reverse order) / false (Draw groups in normal order)

Default Value:
 

false

Example:

setReverseGroups ( true );

setReverseGroups ( false );

Syntax:
 

setReverseGroups ( true | false );
boolean = getReverseGroups ();

Code Sample:
 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(300,200);
perspective1 = new TDG.Perspective();
perspective1.setReverseGroups(true);
perspective1.setAutoshading(false);
perspective1.setBounds(0,0,300,200);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

ReverseSeries

ReverseSeries


Description:
 

This property enables (true) / disables (false) the display of series in reverse order.

Data Type:
 

Boolean

Valid Range:
 

true (Draw series in reverse order) / false (Draw series in normal order)

Default Value:
 

false

Example:

setReverseSeries ( true );

setReverseSeries ( false );

Syntax:
 

setReverseSeries ( true | false );
boolean = getReverseSeries();

Code Sample:
 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
setLayout(null);
setSize(300,200);
perspective1 = new TDG.Perspective();
perspective1.setReverseSeries(true);
perspective1.setAutoshading(false);
perspective1.setBounds(0,0,300,200);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

ReverseGroups

Riser3DThicknessY


Description:
 

This property determines the thickness of risers in 3D ribbon, floating cube, and floating pyramid graphs. It is used in combination with CubeSquareRisers and RiserWidth to set the X-, Z-, and Y-thickness of the risers (ribbons, cube, or pyramids).

Data Type:
 

Integer

Valid Range:
 

1...100

Default Value:
 

50

Example:

setRiser3DThicknessY ( 25 );

setRiser3DThicknessY ( 100 );

Syntax:
  setRiser3DThicknessY ( value );
value = getRiser3DThicknessY ();
Notes:
 

A 3D Ribbon, Floating Cube, or Floating Pyramid graph type must be selected.

Also See:
 

RiserWidth, CubeSquareRisers, and the GraphType property to select a 3D graph.

RiserBarGroupSpacing


Description:
 

For bar graphs only, this property sets the spacing between bars within a group (clusters) in a side-by-side bar graph. A larger number creates more space between bars within a group. When this property is set to zero, there is no space between the bars within a group and all bars within the group will touch each other. When this property is set to 100, the bars within a group are as far apart as possible.

Data Type:
 

Integer

Valid Range:
 

0...100

 
 

Value

Description

 

0

No space at all between bars; bordering bars will touch.

 

100

Bars are as far apart as possible.

Default Value:
 

0

Example:

setRiserWidth ( 10 ) ;
setRiserBarGroupSpacing ( 50 );

setRiserWidth ( 10 );
setRiserBarGroupSpacing ( 25 );

Syntax:
 

setRiserBarGroupSpacing ( value ); / value = getRiserBarGroupSpacing ();

Notes:
 

1.

This property is interactive with bar width (i.e., RiserWidth). If the bars are set to maximum width, space cannot be allocated between bars within a group (i.e., the Group Spacing works by rearranging the space that is available between the Risers after the size set by RiserWidth). RiserWidth affects the amount of space available to RiserBarGroupSpacing.

 

2.

This property affects all riser objects, it cannot be applied to an individual series or group.

Also See:
 

RiserWidth

RiserWidth


Description:
 

For bar graphs, stock high/low chart, and histograms, this property controls the width of bars in a graph. The riser width is expressed as a percentage of the space available for each group of bars. When this property is set to 100, all bars touch each other and there is no space in between them. When this property is set to zero, the bars are displayed as thin lines with no space detectable.

Data Type:
 

Integer

Valid Range:
 

0-100 (0 = Bars are simply lines with no area instance detectable, ...
100 = Bars are so thick they touch each other with no space in between)

Default Value:
 

75

Example:

setRiserWidth ( 100 ) ;

setRiserWidth ( 10 );

Syntax:
 

setRiserWidth ( value );
value = getRiserWidth ();

Notes:
 

1.

This property can interact with RiserBarGroupSpacing, since Group Spacing can only adjust the space as a percentage of what is left over after group spacing; i.e., if there is a lot of space between the groups, there will not be much visual difference between large and small values in riser bar width.

 

2.

This property affects all riser objects, it cannot be applied to an individual series or group.

Also See:
 

RiserBarGroupSpacing

ScaleFromZero


Description:
 

In applications where the data range can include negative numbers, this property determines whether the risers will be drawn pointing up and down from a zero line or whether all risers will draw straight up from the "bottom" of the graph. It affects risers on 3D graphs and all 2D graphs except Pies charts.

Data Type:
 

Boolean

Valid Range:
 

true (Draw from the zero line) / false (Draw from the base of the frame)

Default Value:
 

true ( Draw bar from the zero line)

Example:

setScaleFromZero ( true );

setScaleFromZero ( false );

Syntax:
 

setScaleFromZero ( true | false );
boolean = getScaleFromZero();

SelectionEnable


Description:
 

This property enables/disables the users ability to select individual objects (risers, markers, labels, etc.) in a chart.

Data Type:
 

Integer

Valid Range:
 

0...3

 
 

Value

Description

 

0

no selection

 

1

Select a single element, only one object highlighted

 

2

Select only data related objects (bar, legend) and select all related object when clicked on one

 

3

Select all related objects when clicked on one

Default Value:
 

3

Syntax:
 

setSelectionEnable ( value );
value = getSelectionEnable ();

Code Sample:
 

<html>
<head>
<title>TDGChartApplet Demonstration #2</title>
</head>
<body>
<h2 align="center">Simple Bar Chart</h2>
<p align="center">This chart only allows selection of data elements. This is done by passing the &quot;setSelectionEnable&quot; parameter. </p>
<p align="center">
<applet code="TDGChartApplet.class" archive="javaCHARTg.jar" width="446" height="254">
<param name="TDGSCRIPT"
value="
setTitleString(&quot;Simple Bar Chart&quot;); /* Set Title String */
setSubtitleString(&quot;With nonsensical data values&quot;);
setGraphType(17); /* Set the graph type to Clustered Bars */
setSeriesLabelArray(&quot;Larry&quot;, &quot;Curly&quot;, &quot;Moe&quot;);
setDataSeries(35.00, 45.00, 65.00, 75.00); /* Larry */
setDataSeries(27.00, 32.00, 57.00, 66.00); /* Curly */
setDataSeries(15.00, 5.00, 10.00, 8.00); /*Moe */
setGroupLabelArray(&quot;Widgets&quot;, &quot;Wallets&quot;, &quot;Mallets&quot;, &quot;Badgers&quot;);
setY1TitleString(&quot;Sales Volume&quot;); /* Set left axis title */
setSelectionEnable(2); /* Only allow data items to be selected */
">
</applet>
<br>
<br>
</body>
</html>

Also See:
 

ReshapeEnable, ResizeBarMode, SelectionEnableMove

SelectionEnableMove


Description:
 

This property enables (true) / disables (false) the users ability to select and move individual moveable objects (title, subtitle, footnote, chart frame, and legend box) in a chart.

Data Type:
 

Boolean

Valid Range:
 

true (User can select and move objects) / false (Objects can be selected but not moved)

Default Value:
 

true (User can select and move objects)

Syntax:
 

setSelectionEnableMove ( true | false );
boolean = getSelectionEnableMove();

Code Sample:
 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(300,200);
perspective1 = new TDG.Perspective();
perspective1.setGraphType(17);
perspective1.setSelectionEnable(3);
perspective1.setSelectionEnableMove (false);
perspective1.setBounds(0,0,300,200);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

ReshapeEnable, ResizeBarMode, SelectionEnable

SeriesAreRows


Description:
 

When this property is enabled (true), series values are stored as rows. When it is disabled (false), series values are stored as columns.

Data Type:
 

Boolean

Valid Range:
 

true (Series are stored as rows) / false (Series are stored as columns)

Default Value:
 

true (Series are stored as rows)

Example:

setSeriesAreRows ( true );

setSeriesAreRows ( false );

Syntax:
 

setSeriesAreRows ( true | false ); / boolean = getSeriesAreRows();

Code Sample:
 

{
perspective1 = new TDG.Perspective();
perspective1.setUseSampleData(false);
perspective1.setGraphType(17);
perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);
perspective1.setSeriesAreRows(true);
perspective1.setGroupLabel(0,"Group 0");
perspective1.setGroupLabel(1,"Group 1");
perspective1.setGroupLabel(2,"Group 2");
perspective1.setGroupLabel(3,"Group 3");
perspective1.setSeriesLabel(0,"Series 0");
perspective1.setSeriesLabel(1,"Series 1");
perspective1.setData(0,0,10);
perspective1.setData(0,1,11);
perspective1.setData(0,2,12);
perspective1.setData(0,3,13);
perspective1.setData(1,0,20);
perspective1.setData(1,1,21);
perspective1.setData(1,2,22);
perspective1.setData(1,3,23);
perspective1.setBounds(0,0,300,200);
add(perspective1);
}

Also See:
 

ReverseSeries, ReverseGroups

ShadowXOffsetDefault / ShadowYOffsetDefault


Description:
 

The ShadowXOffsetDefault property sets the default value for the X-Offset of a drop shadow.

The ShadowYOffsetDefault property sets the default value for the Y-Offset of a drop shadow.

Data Type:
 

Integer

Valid Range:
 

0...100

Default Value:
 

2

Syntax:
 

setShadowXOffsetDefault ( value );
value = getShadowXOffsetDefault ();

setShadowYOffsetDefault ( value );
value = getShadowYOffsetDefault ();

Code Sample:
 

/* A basic extension of the java.applet.Applet class */
import java.awt.*;
import java.applet.*;
import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(300,200);
perspective1 = new TDG.Perspective();
perspective1.setShadowXOffsetDefault(5);
perspective1.setShadowYOffsetDefault(10);
perspective1.setBounds(0,0,300,200);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

get/setShadowColor(), get/setShadowDisplay(), get/setShadowXOffset(), get/setShadowYOffset() in Chapter 8

Stock52WeekHighDisplay


Description:
 

This property enables (true) / disables (false) the display of a 52-week high line in a stock chart. The GraphType property must be set to one of the stock charts (73...83). However, note that a 52-week high line is not available in bi-polar stock charts. The Stock52WeekHighValue property must define the 52-week high value.

Data Type:
 

Boolean

Valid Range:
 

true (Draw 52-week high line) / false (Do not draw 52-week high line)

Default Value:
 

false ( Do not draw 52-week high line)

Example:

setStock52WeekHighDisplay ( true );

setStock52WeekHighDisplay ( false );

Syntax:
 

setStock52WeekHighDisplay ( true | false );
boolean = getStock52WeekHighDisplay();

Also See:
 

Stock52WeekHighValue, Stock52WeekLowValue, and Stock52WeekLowDisplay.

Stock52WeekHighValue


Description:
 

This property is used to set a 52-week high value in a stock chart. The GraphType property must be set to one of the stock charts (73...83). However, note that a 52-week high line is not available in bi-polar stock charts. The Stock52WeekHighDisplay property must be set to true in order to display a line in the chart identifying the 52-week high value. Only one line per chart is available.

Data Type:
 

Double

Valid Range:
 

Any real number that falls within the data range of the chart.

Default Value:
 

40.0

Example:

setStock52WeekHighDisplay ( true );
setStock52WeekHighValue ( 20 );

setStock52WeekHighDisplay ( true );
setStock52WeekHighValue ( 60 );

Syntax:
 

setStock52WeekHighValue ( value );
value = getStock52WeekHighValue ();

Also See:
 

Stock52WeekHighDisplay

Stock52WeekLowDisplay


Description:
 

This property enables (true) / disables (false) the display of a 52-week low line in a stock chart. The GraphType property must be set to one of the stock charts (73...83). However, note that a 52-week low line is not available in bi-polar stock charts. The Stock52WeekLowValue property must define the 52-week low value. Only one line per chart is available.

Data Type:
 

Boolean

Valid Range:
 

true (Draw 52-week low line) / false (Do not draw 52-week low line)

Default Value:
 

false ( Do not draw 52-week low line)

Example:

setStock52WeekLowDisplay ( true );

setStock52WeekLowDisplay ( false );

Syntax:
 

setStock52WeekLowDisplay ( true | false );
boolean = getStock52WeekLowDisplay();

Also See:
 

Stock52WeekLowValue, Stock52WeekHighValue, and Stock52WeekHighDisplay.

Stock52WeekLowValue


Description:
 

This property is used to set a 52-week low value in a stock chart. The GraphType property must be set to one of the stock charts (73...83). However note that a 52-week low line is not available for bi-polar stock charts. The Stock52WeekLowDisplay property must be set to true in order to display a line in the chart identifying the 52-week low value. Only one line per chart is available.

Data Type:
 

Double

Valid Range:
 

Any real number within the data range of the chart

Default Value:
 

10.0

Example:

set52StockWeekLowDisplay ( true );
setStock52WeekLowValue ( 20 );

setStock52WeekLowValue ( true );
setStock52WeekLowValue ( 60 );

Syntax:
 

setStock52WeekLowValue ( value );
value = getStock52WeekLowValue ();

Also See:
 

Stock52WeekLowDisplay

StockCloseSplitDisplay


Description:
 

This property enables (true) / disables (false) the display of split risers at the stock close value. The GraphType property must be set to one of the stock charts (73...83). If a close value is not available, this property is ignored.

Data Type:
 

Boolean

Valid Range:
 

true (Split risers at close value) / false (Do not split risers at close value)

Default Value:
 

true (Split risers at close value)

Example:

setStockCloseSplitDisplay ( true );

setStockCloseSplitDisplay ( false );

Syntax:
 

setStockCloseSplitDisplay ( true | false );
boolean = getStockCloseSplitDisplay();

Also See:
 

StockCloseTicksDisplay, StockOpenTicksDisplay

StockCloseTicksDisplay


Description:
 

This property enables (true) / disables (false) the tick marks at the stock close value. The GraphType property must be set to one of the stock charts (73...83). If a close value is not available, this property is ignored. the StockTickLength property determines the size of the tick marks.

Data Type:
 

Boolean

Valid Range:
 

true (Display close value tick marks) / false (Do not display close value tick marks)

Default Value:
 

true (Display ticks at close values)

Example:

setStockCloseTicksDisplay ( true );

setStockCloseTicksDisplay ( false );

Syntax:
 

setStockCloseTicksDisplay ( true | false );
boolean = getStockCloseTicksDisplay();

Also See:
 

StockCloseSplitDisplay, StockOpenTicksDisplay, StockTickLength

StockMovingAverageDisplay


Description:
 

This property enables (true) / disables (false) the display of a moving average line in a stock chart. The GraphType property must be set to one of the stock charts (73...83).

Data Type:
 

Boolean

Valid Range:
 

true (Draw moving average line) / false (Do not draw moving average line)

Default Value:
 

false ( Do not draw moving average line)

Example:

setStockMovingAverageDisplay ( true );

setStockMovingAverageDisplay ( false );

Syntax:
 

setStockMovingAverageDisplay ( true | false );
boolean = getStockMovingAverageDisplay();

Also See:
 

Stock52WeekHighDisplay, Stock52WeekLowDisplay, StockCloseSplitDisplay, StockCloseTicksDisplay, StockOpenTicksDisplay, and the setLineWidth() method in Chapter 8 to define the width of the stock moving average line.

StockOpenTicksDisplay


Description:
 

This property enables (true) / disables (false) the tick marks at the stock open values. The GraphType property must be set to one of the stock charts (73...83). If an open value is not available, this property is ignored. the StockTickLength property determines the size of the tick marks.

Data Type:
 

Boolean

Valid Range:
 

true (Display open value tick marks) / false (Do not display open value tick marks)

Default Value:
 

true (Display ticks at open values)

Example:

setStockOpenTicksDisplay ( true );

setStockOpenTicksDisplay ( false );

Syntax:
 

setStockOpenTicksDisplay ( true | false );
boolean = getStockOpenTicksDisplay();

Code Sample:
 

import TDG.Perspective;
public class Applet1 extends Applet
{
public void init()
{
setLayout(null);
setSize(300,200);
perspective1 = new TDG.Perspective();
perspective1.setGraphType(79);
perspective1.setLegendMarkerPosition(4);
perspective1.setStockOpenTicksDisplay(true);
perspective1.setStockTickLength(60);
add(perspective1);
}
TDG.Perspective perspective1;
}

Also See:
 

StockCloseTicksDisplay, StockTickLength

StockTickLength


Description:
 

This property determines the length of tick marks in a stock chart. The GraphType property must be set to one of the stock charts (73...83). The StockCloseTicksDisplay and/or StockOpenTicksDisplay property must be enabled (true). If close and/or open values are not available, the tick mark(s) will not be displayed.

Data Type:
 

Integer

Valid Range:
 

0...100

Default Value:
 

50

Example:

setStockTickLength ( 100 );

setStockTickLength ( 50 );

Syntax:
 

setStockTickLength ( value );
value = getStockTickLength ();

Also See:
 

StockCloseTicksDisplay, StockOpenTicksDisplay

SubtitleAutofit / Display / String


Description:
 

The SubtitleAutofit property enables (true) / disables (false) autofitting of the subtitle string that is defined by the SubtitleString property and enabled for display by the SubtitleDisplay property.

The SubtitleDisplay property enables (true) / disables (false) drawing of the subtitle string defined by the SubtitleString property.

The SubtitleString property to used to define the subtitle text that is drawn in the chart when the SubtitleDisplay property is set to true. When a subtitle string is defined with this property, the SubtitleDisplay property is automatically set to true.

Data Type:
 

SubtitleAutofit and SubtitleDisplay: Boolean
SubtitleString: String

Valid Range:
 

SubtitleAutofit: true (autofit subtitle) / false (do not autofit subtitle)
SubtitleDisplay: true (display subtitle) / false (do not display subtitle)
SubtitleString: any printable characters

Default Value:
 

SubtitleAutofit: true
SubtitleDisplay: true
SubtitleString: "Chart Subtitle"

Example:

setSubtitleAutofit ( true );

setSubtitleAutofit ( false );

Syntax:
 

setSubtitleAutofit ( true | false ); / boolean = getSubtitleAutofit();

setSubtitleDisplay ( true | false ); / boolean = getSubtitleDisplay();

setSubtitleString ( "SubtitleString" );
string = getSubtitleString();

Also See:
 

FootnoteAutofit, FootnoteDisplay, FootnoteString, TitleAutofit, TitleDisplay, TitleString

TextAutofitMax / TextAutofitMin


Description:

 

These properties set the maximum and minimum font size in virtual coordinates that autofitting will use. TextAutofitMin sets the minimum font size, TextAutofitMax sets the maximum font size.

Data Type:

 

TextAutofitMax: Integer

 

TextAutofitMin: Integer

Valid Range:

 

Any positive integer value

Default Value:

 

TextAutofitMax: 1600

 

TextAutofitMin: 50

Syntax:

 

setTextAutofitMax ( value );
value = getTextAutofitMax();

 

setTextAutofitMin ( value );
value = getTextAutofitMin();

TitleAutofit / Display / String


Description:
 

The TitleAutofit property enables (true) / disables (false) autofitting of the title string that is defined by the TitleString property and enabled for display by the TitleDisplay property.

The TitleDisplay property enables/disables drawing of the graph's title string that is defined by the TitleString property.

The TitleString property to used to define the title text that will be drawn in a chart when the TitleDisplay property is set to true. When a title string is defined with this property, the TitleDisplay property is automatically set to true.

Data Type:
 

TitleAutofit and TitleDisplay: Boolean
TitleString: String

Valid Range:
 

TitleAutofit: true (autofit title) / false (do not autofit)
TitleDisplay: true (display title) / false (do not display title)
TitleString: any printable characters

Default Value:
 

TitleAutofit: true
TitleDisplay: true
TitleString: "Chart Title"

Example:

setTitleAutofit ( true );

setTitleAutofit ( false );

Syntax:
 

setTitleAutofit ( true | false ); / boolean = getTitleAutofit();

setTitleDisplay ( true | false ); / boolean = getTitleDisplay();

setTitleString ( "TitleString" );
string = getTitleString();

Also See:
 

FootnoteAutofit, FootnoteDisplay, FootnoteString, SubtitleAutofit, SubtitleDisplay, SubtitleString