Series-Specific Properties

SeriesDefaultBorderColor

This property sets the default color to use for riser edges when the UseSeriesBorderDefaults property is enabled. This property is only used when UseSeriesBorderDefaults is enabled (true). When UseSeriesBorderDefaults is disabled (false), this property is ignored.

DATA TYPE:

color

RANGE:

any java color value

DEFAULT:

black

SYNTAX:

void setSeriesDefaultBorderColor(Color newValue);
Color getSeriesDefaultBorderColor();

EXAMPLE:

setAutoshading(false);
setUseSeriesBorderDefaults(true);
setSeriesDefaultBorderColor(new 
Color(255,0,0));

setSeriesDefaultBorderColor(new Color(0,0,255));

ALSO SEE:

SeriesDefaultTransparentBorderColor, UseSeriesBorderDefaults

SeriesDefaultTransparentBorderColor

When UseSeriesBorderDefaults is enabled, this property enables/disables the use of a transparent border color around the edges of risers. This property is only used when UseSeriesBorderDefaults is enabled (true). When UseSeriesBorderDefaults is disabled (false), this property is ignored.

DATA TYPE:

boolean

RANGE:

true / false; true = Use transparent edges around risers, false = Use the color assigned to SeriesDefaultBorderColor

DEFAULT:

true

SYNTAX:

void setSeriesDefaultTransparentBorderColor(Color newValue);
Color setSeriesDefaultTransparentBorderColor();

EXAMPLE:

setUseSeriesBorderDefaults(true);
setSeriesDefaultTransparentBorderColor(true);

ALSO SEE:

SeriesDefaultBorderColor, UseSeriesBorderDefaults

SeriesLineWidthDefault

This property sets the default line width for all series in a line chart.

DATA TYPE:

integer

RANGE:

1...100

DEFAULT:

3

SYNTAX:

void setSeriesLineWidthDefault(int newValue);
int getSeriesLineWidthDefault();

EXAMPLE:

setGraphType(41);
setDepthAngle(0);
setDepthRadius(0);
setFootnoteDisplay(false);
setSubtitleDisplay(false);
setTitleString("SeriesLineWidthDefault(25)");
setSeriesLineWidthDefault(25);

setGraphType(41);
setDepthAngle(0);
setDepthRadius(0);
setFootnoteDisplay(false);
setSubtitleDisplay(false);
setTitleString("SeriesLineWidthDefault(2)");
setSeriesLineWidthDefault(2);

NOTE:

DepthRadius must be zero in order for this property to work.

SeriesLooping

This property selects the interval at which series color values are repeated. The default setting (32) defines different colors from the first 32 series (0...31). Starting with series 32, the colors are repeated (i.e., series 32...64 have the same colors and 0...31, respectively).

DATA TYPE:

integer

RANGE:

1...number of series in data that defines the graph. 1=All series will have the same color.

DEFAULT:

32 (start repeating the defined series color at series 31)

SYNTAX:

void setSeriesLooping(int newValue);
int getSeriesLooping();

EXAMPLE:

setViewableGroups(4);
setViewableSeries(4);
setDepthRadius(0);
setDataScrollerPresenceGroups(0);
setSeriesLooping(3);

setSeriesLooping(2);

UseSeriesBorderDefaults

This property controls the riser border color set by SeriesDefaultBorderColor or transparent borders set by SeriesDefaultTransparentBorderColor. When this property is true and SeriesDefaultTransparentBorderColor is false, all riser borders are drawn with the SeriesDefaultBorderColor. When this property is true and SeriesDefaultTransparentBorderColor is true, all riser borders are transparent (i.e., drawn with the same color as the riser's fill color). When this property is false, black riser borders are used unless specifically changed by another Perspective method.

DATA TYPE:

boolean

RANGE:

true / false; true = If SeriesDefaultTransparentBorderColor is false, use the SeriesDefaultBorderColor for riser borders. If SeriesDefaultTransparentBorderColor is true, make the riser borders transparent. false = Draw black riser borders or color defined by other Perspective methods (e.g., setSelectionBorderColor(), setSeriesBorderColor(), etc.).

DEFAULT:

false

SYNTAX:

setUseSeriesBorderDefaults(boolean newValue);
boolean = getUseSeriesBorderDefaults();

ALSO SEE:

SeriesDefaultBorderColor, SeriesDefaultTransparentBorderColor

UseSeriesShapes

This property enables/disables the use of different shapes for each series in the legend area.

DATA TYPE:

boolean

RANGE:

true / false; true = Use a different shape for each series in the legend area, false = Use a square box for each legend icon

DEFAULT:

false

SYNTAX:

void setUseSeriesShapes(boolean newValue);
boolean getUseSeriesShapes();

EXAMPLE:

setUseSeriesShapes(true);
setDepthRadius(0);

setUseSeriesShapes(false);

ALSO SEE:

LegendDisplay, LegendMarkerPosition, LegendReverse, LegendTextAutofit, get/setMarkerShape(), get/setMarkerSize()