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. |
Integer |
0...100 |
30 |
setMarkerSizeDefault ( 60 ); |
setMarkerSizeDefault ( 90 ); |
setMarkerSizeDefault ( value ); |
perspective1.setGraphType(41); |
ConnectLineMarkers, ConnectScatterMarkers, MarkerDisplay, UseSeriesShapes, and the following methods in Chapter 8: get/setMarkerShape(),get/setMarkerSize(),get/setMarkerTemplate(),get/setMarkerTemplateIndex() |
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. |
Boolean |
true (Display O1 axis line) / false (Do not display) |
true |
setO1AxisLineDisplay ( true ); |
setO1AxisLineDisplay ( false ); |
setO1AxisLineDisplay ( true | false ); |
id = perspective1.getO1AxisLine(); |
O1AxisSide, O1LabelDisplay, and the get/setAxisSide() and setLineWidth() methods in Chapter 8. |
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. |
Integer |
0-2 |
||
# |
Description |
|
0 |
Vertical: Bottom / Horizontal: Left |
|
1 |
Vertical: Top / Horizontal: Right |
|
2 |
Vertical: Top and Bottom / Horizontal: Right and Left |
0 (bottom/left) |
setO1AxisSide ( 1 ); |
setO1AxisSide ( 2 ); |
setO1AxisSide ( value ); |
setO1AxisSide ( value ); |
O1ExcludeMaxLabel / O1ExcludeMinLabel
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. |
Boolean |
O1ExcludeMaxLabel: true (exclude max label) / false (include max label) |
false |
setO1ExcludeMaxLabel ( true ); |
setO1ExcludeMaxLabel ( false ); |
setO1ExcludeMaxLabel ( true | false ); setO1ExcludeMinLabel ( true | false ); |
get/setExcludeMaxLabel() and get/setExcludeMinLabel() methods in Chapter 8. |
O1LabelAutofit / O1 LabelDisplay
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. |
Boolean |
O1LabelAutofit: true (autofit labels) / false (do not autofit labels) |
true |
setO1LabelDisplay ( true ); |
setO1LabelDisplay ( false ); |
setO1LabelAutofit ( true | false ); setO1LabelDisplay ( true | false ); |
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. |
O1LabelRotate
This property sets an angle (in degrees) at which labels on the primary ordinal (O1) axis are rotated. |
Integer |
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) |
Zero (Not Rotated) |
setO1LabelRotate ( value ); |
/* A basic extension of the java.applet.Applet class */ |
O1AxisSide, O1LabelAutofit, O1LabelDisplay, O1LabelStagger, O1LabelWrap |
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. |
Boolean |
true (Stagger the labels) / false (draw them as normal) |
false |
setO1LabelStagger ( true ); |
setO1LabelStagger ( false ); |
setO1LabelStagger ( true | false ); |
import TDG.Perspective; |
This property is not supported in 3D charts. |
O1AxisSide, O1LabelAutofit, O1LabelDisplay, O1LabelRotate, O1LabelWrap and the get/setLabelStagger method in Chapter 8. |
O1LabelWrap
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. |
Boolean |
true (Enable automatic line wrapping) / false (Labels are drawn on one line) |
false (label wrap mode is off) |
setO1LabelWrap ( true ); |
setO1LabelWrap ( false ); |
setO1LabelWrap( true | false ); |
O1AxisSide, O1LabelAutofit, O1LabelDisplay, O1LabelRotate, O1LabelStagger. |
O1MajorGridDisplay / O1MajorGridStyle
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. |
O1MajorGridDisplay: Boolean |
O1MajorGridDisplay: true (display major grid lines) / false (do not display) |
||
# |
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 |
O1MajorGridDisplay: true |
setO1MajorGridStyle ( 3 ); |
setO1MajorGridStyle ( 4 ); |
setO1MajorGridDisplay ( true | false ); setO1MajorGridStyle ( value ); |
O1AxisSide, O1MinorGridDisplay, O1MinorGridStyle, and the get/setGridStyle() method in Chapter 8. |
This property controls the number of minor grid lines between the major grid lines on the O1 axis. |
Integer |
1...50 |
1 |
setO1MinorGridCount ( value ); |
/* A basic extension of the java.applet.Applet class */ |
get/setGridCount() in Chapter 8 |
O1MinorGridDisplay / O1 MinorGridStyle
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. |
O1MinorGridDisplay: Boolean |
O1MinorGridDisplay: true (display minor grid lines) / false (do not display) |
||
# |
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 |
O1MinorGridDisplay: false |
setO1MinorGridDisplay ( true | false ); setO1MinorGridStyle ( value ); |
import TDG.Perspective; |
O1AxisSide, O1MajorGridDisplay, O1MajorGridStyle, and the get/setGridStyle() method in Chapter 8. |
O1TitleAutofit / Display / String
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. |
O1TitleAutofit: Boolean |
O1TitleAutofit: true (autofit title) / false (do not autofit title) |
O1TitleAutofit: true |
setO1TitleAutofit ( true ); |
setO1TitleAutofit ( false ); |
setO1TitleAutofit ( true | false ); / boolean = getO1TitleAutofit (); |
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. |
O2ExcludeMaxLabel / O2ExcludeMinLabel
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. |
Boolean |
O2ExcludeMaxLabel: true (exclude max label) / false (include max label) |
false |
setO2ExcludeMaxLabel ( true | false ); setO2ExcludeMinLabel ( true | false ); |
get/setExcludeMaxLabel() and get/setExcludeMinLabel() in Chapter 8 |
O2LabelAutofit / O2LabelDisplay
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. |
Boolean |
O2LabelAutofit: true (autofit labels) / false (do not autofit labels) |
true |
setO2LabelAutofit ( true | false ); setO2LabelDisplay ( true | false ); |
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. |
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 ); |
Code Sample:
/* A basic extension of the java.applet.Applet class */ |
Also See:
This property applies to 3D charts only. It controls whether labels on this axis can be drawn on more than one line. |
Boolean |
true (Enable automatic line wrapping) / false (Labels are drawn on one line) |
false (label wrap mode is off) |
setO2LabelWrap( true | false ); |
The text will be center aligned. |
O2TitleAutofit / Display / String
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. |
O2TitleAutofit: Boolean |
O2TitleAutofit: true (autofit title string) / false (do not autofit title) |
O2TitleAutofit: true |
setO2TitleAutofit ( true | false ); setO2TitleDisplay ( true | false ); setO2TitleString ( "string"); |
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). |
Integer |
0...100 |
30 |
setPieDepth ( 10 ); |
setPieDepth ( 100 ); |
setPieDepth ( value ); |
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 |
This property enables (true) / disables (false) the display of feelers and data text in a pie chart. |
Integer |
0...3 |
||
Value |
Description |
|
0 |
No labels |
|
1 |
Show feeler lines and text |
|
2 |
Labels only, no feeler lines |
|
3 |
Labels on slices |
1 (Display text and feeler lines) |
setPieFeelerTextDisplay ( 1 ); |
setPieFeelerTextDisplay ( 3 ); |
setPieFeelerTextDisplay ( value ); |
The PieFeelerTextFormat and PieLabelDisplay properties determine the format of data text displayed next to feelers when this property is enabled. |
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
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). |
PieFeelerTextFormat: Integer |
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: |
PieFeelerTextFormat: 2 |
setPieFeelerTextFormat ( value ); |
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 |
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). |
Integer |
0...2 |
||
Value |
Description |
|
0 |
Absolute (true) value of slice |
|
1 |
Percent value of slice |
|
2 |
Series Label |
|
3 |
Series Label and Percent value |
1 (Value) |
setPieLabelDisplay ( 2 ); |
setPieLabelDisplay ( 3 ); |
setPieLabelDisplay ( value ); |
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 |
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). |
Integer |
0...100 |
55 |
setPieRingSize ( 10 ); |
setPieRingSize ( 60 ); |
setPieRingSize ( value ); |
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 |
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. |
Boolean |
true (Display total) / false (Do not display total) |
true (Display total) |
setPieRingTotalDisplay ( true ); |
setPieRingTotalDisplay ( false ); |
setPieRingTotalDisplay ( true | false ); |
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
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. |
PieRingTotalFormat: Integer |
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: |
PieRingTotalFormat: Zero (General) |
setPieRingTotalFormat ( value ); |
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 |
This property rotates a pie chart a specified number of degrees. |
Integer |
0..359 |
0 |
setPieRotate (0); |
setPieRotate (90); |
setPieRotate ( value ); |
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 |
This property tilts a pie chart a specified number of degrees. |
Integer |
0...100 |
15 |
setPieTilt ( 10 ); |
setPieTilt ( 50 ); |
setPieTilt ( value ); |
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 |
This property specifies the number of pies to be drawn in a row in multi-pie charts. |
Integer |
1...32 |
2 |
setPiesPerRow ( 1 ); |
setPiesPerRow ( 2 ); |
setPiesPerRow ( 3 ); |
setPiesPerRow ( 4 ); |
setPiesPerRow ( value ); |
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 |
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. |
Boolean |
true (User can move/resize objects) / false (Objects cannot be moved/resized by user) |
true |
setReshapeEnable ( true | false ); |
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. |
Boolean |
true (User interface can resize bars) / false (Do not allow resizing of bars) |
false |
setResizeBarMode ( true | false ); |
This property enables (true) / disables (false) the display of groups in reverse order. |
Boolean |
true (Draw groups in reverse order) / false (Draw groups in normal order) |
false |
setReverseGroups ( true ); |
setReverseGroups ( false ); |
setReverseGroups ( true | false ); |
/* A basic extension of the java.applet.Applet class */ |
This property enables (true) / disables (false) the display of series in reverse order. |
Boolean |
true (Draw series in reverse order) / false (Draw series in normal order) |
false |
setReverseSeries ( true ); |
setReverseSeries ( false ); |
setReverseSeries ( true | false ); |
/* A basic extension of the java.applet.Applet class */ |
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). |
Integer |
1...100 |
50 |
setRiser3DThicknessY ( 25 ); |
setRiser3DThicknessY ( 100 ); |
setRiser3DThicknessY ( value ); value = getRiser3DThicknessY (); |
A 3D Ribbon, Floating Cube, or Floating Pyramid graph type must be selected. |
RiserWidth, CubeSquareRisers, and the GraphType property to select a 3D graph. |
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. |
Integer |
0...100 |
||
Value |
Description |
|
0 |
No space at all between bars; bordering bars will touch. |
|
100 |
Bars are as far apart as possible. |
0 |
setRiserWidth ( 10 ) ; |
setRiserWidth ( 10 ); |
setRiserBarGroupSpacing ( value ); / value = getRiserBarGroupSpacing (); |
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. |
RiserWidth |
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. |
Integer |
0-100 (0 = Bars are simply lines with no area instance detectable, ... |
75 |
setRiserWidth ( 100 ) ; |
setRiserWidth ( 10 ); |
setRiserWidth ( value ); |
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. |
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. |
Boolean |
true (Draw from the zero line) / false (Draw from the base of the frame) |
true ( Draw bar from the zero line) |
setScaleFromZero ( true ); |
setScaleFromZero ( false ); |
setScaleFromZero ( true | false ); |
This property enables/disables the users ability to select individual objects (risers, markers, labels, etc.) in a chart. |
Integer |
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 |
3 |
setSelectionEnable ( value ); |
<html> |
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. |
Boolean |
true (User can select and move objects) / false (Objects can be selected but not moved) |
true (User can select and move objects) |
setSelectionEnableMove ( true | false ); |
/* A basic extension of the java.applet.Applet class */ |
When this property is enabled (true), series values are stored as rows. When it is disabled (false), series values are stored as columns. |
Boolean |
true (Series are stored as rows) / false (Series are stored as columns) |
true (Series are stored as rows) |
setSeriesAreRows ( true ); |
setSeriesAreRows ( false ); |
setSeriesAreRows ( true | false ); / boolean = getSeriesAreRows(); |
|
ShadowXOffsetDefault / ShadowYOffsetDefault
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. |
Integer |
0...100 |
2 |
setShadowXOffsetDefault ( value ); setShadowYOffsetDefault ( value ); |
/* A basic extension of the java.applet.Applet class */ |
get/setShadowColor(), get/setShadowDisplay(), get/setShadowXOffset(), get/setShadowYOffset() in Chapter 8 |
Stock52WeekHighDisplay
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. |
Boolean |
true (Draw 52-week high line) / false (Do not draw 52-week high line) |
false ( Do not draw 52-week high line) |
setStock52WeekHighDisplay ( true ); |
setStock52WeekHighDisplay ( false ); |
setStock52WeekHighDisplay ( true | false ); |
Stock52WeekHighValue, Stock52WeekLowValue, and Stock52WeekLowDisplay. |
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. |
Double |
Any real number that falls within the data range of the chart. |
40.0 |
setStock52WeekHighDisplay ( true ); |
setStock52WeekHighDisplay ( true ); |
setStock52WeekHighValue ( value ); |
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. |
Boolean |
true (Draw 52-week low line) / false (Do not draw 52-week low line) |
false ( Do not draw 52-week low line) |
setStock52WeekLowDisplay ( true ); |
setStock52WeekLowDisplay ( false ); |
setStock52WeekLowDisplay ( true | false ); |
Stock52WeekLowValue, Stock52WeekHighValue, and Stock52WeekHighDisplay. |
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. |
Double |
Any real number within the data range of the chart |
10.0 |
set52StockWeekLowDisplay ( true ); |
setStock52WeekLowValue ( true ); |
setStock52WeekLowValue ( value ); |
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. |
Boolean |
true (Split risers at close value) / false (Do not split risers at close value) |
true (Split risers at close value) |
setStockCloseSplitDisplay ( true ); |
setStockCloseSplitDisplay ( false ); |
setStockCloseSplitDisplay ( true | false ); |
StockCloseTicksDisplay, StockOpenTicksDisplay |
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. |
Boolean |
true (Display close value tick marks) / false (Do not display close value tick marks) |
true (Display ticks at close values) |
setStockCloseTicksDisplay ( true ); |
setStockCloseTicksDisplay ( false ); |
setStockCloseTicksDisplay ( true | false ); |
StockCloseSplitDisplay, StockOpenTicksDisplay, StockTickLength |
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). |
Boolean |
true (Draw moving average line) / false (Do not draw moving average line) |
false ( Do not draw moving average line) |
setStockMovingAverageDisplay ( true ); |
setStockMovingAverageDisplay ( false ); |
setStockMovingAverageDisplay ( true | false ); |
Stock52WeekHighDisplay, Stock52WeekLowDisplay, StockCloseSplitDisplay, StockCloseTicksDisplay, StockOpenTicksDisplay, and the setLineWidth() method in Chapter 8 to define the width of the stock moving average line. |
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. |
Boolean |
true (Display open value tick marks) / false (Do not display open value tick marks) |
true (Display ticks at open values) |
setStockOpenTicksDisplay ( true ); |
setStockOpenTicksDisplay ( false ); |
setStockOpenTicksDisplay ( true | false ); |
import TDG.Perspective; |
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. |
Integer |
0...100 |
50 |
setStockTickLength ( 100 ); |
setStockTickLength ( 50 ); |
setStockTickLength ( value ); |
StockCloseTicksDisplay, StockOpenTicksDisplay |
SubtitleAutofit / Display / String
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. |
SubtitleAutofit and SubtitleDisplay: Boolean |
SubtitleAutofit: true (autofit subtitle) / false (do not autofit subtitle) |
SubtitleAutofit: true |
setSubtitleAutofit ( true ); |
setSubtitleAutofit ( false ); |
setSubtitleAutofit ( true | false ); / boolean = getSubtitleAutofit(); setSubtitleDisplay ( true | false ); / boolean = getSubtitleDisplay(); setSubtitleString ( "SubtitleString" ); |
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 ); |
|
setTextAutofitMin ( value ); |
TitleAutofit / Display / String
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. |
TitleAutofit and TitleDisplay: Boolean |
TitleAutofit: true (autofit title) / false (do not autofit) |
TitleAutofit: true |
setTitleAutofit ( true ); |
setTitleAutofit ( false ); |
setTitleAutofit ( true | false ); / boolean = getTitleAutofit(); setTitleDisplay ( true | false ); / boolean = getTitleDisplay(); setTitleString ( "TitleString" ); |
FootnoteAutofit, FootnoteDisplay, FootnoteString, SubtitleAutofit, SubtitleDisplay, SubtitleString |