UseOffScreen

 

This property controls whether the chart will be drawn directly to the graphics device (true) or using an off-screen image buffer (false). Set this property to false when the drawing speed of the chart seems very slow. When this property is set to false, it can increase the drawing speed by a factor of three in some situations.

Data Type:

Boolean

Range:

true / false

 

true=

Draw directly to graphics device

 

false=

Use off screen image buffer

Default:

true

Syntax:

setUseOffScreen ( true| false );

 

boolean = getUseOffScreen ();

UseSampleData

 

This property enables (true) / disables (false) the use of a sample data in a chart..

Data Type:

Boolean

Range:

true / false

 

true=

Use sample data

 

false=

Do not use sample data. Use the data provided by the setData() methods or other data interface

Default:

true

Syntax:

setUseSampleData ( true | false );

 

boolean = getUseSampleData();

Example:

perspective1.setUseSampleData(false);
perspective1.setData(0,0,10);
perspective1.setData(0,1,20);
perspective1.setData(0,2,30);
perspective1.setData(1,0,11);
perspective1.setData(1,1,22);
perspective1.setData(1,2,33);
perspective1.setDataRangeToExtent();
perspective1.setDepthAngle(0);
perspective1.setDepthRadius(0);

 

Notes:

If this property is set to false, your application must provide all property settings (including the GraphType) and all data values that define the chart.

UseSeriesBorderDefaults

 

This property enables/disables the use of the riser border color set by the SeriesDefaultBorderColor property or transparent borders set by SeriesDefaultTransparentBorderColor. When this property is enabled (true) and SeriesDefaultTransparentBorderColor is disabled (false), all riser borders are drawn with the SeriesDefaultBorderColor. When this property is enabled (true) and SeriesDefaultTransparentBorderColor is enabled (true), all riser borders are transparent (i.e., they are drawn with the same color as the riser's fill color). When this property is disabled (false), black riser borders are used unless specifically changed by another Perspective method (i.e., setSelectionBorderColor, setSeriesBorderColor(), etc.)..

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( true | false );

 

boolean = getUseSeriesBorderDefaults();

Example:

See SeriesDefaultBorderColor and SeriesDefaultTransparentBorderColor

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:

setUseSeriesShapes ( true | false );

 

boolean = getUseSeriesShapes();

Example:

perspective1.setUseSeriesShapes(true);
perspective1.setDepthRadius(0);

 

 

perspective1.setUseSeriesShapes(false);

 

Also See:

LegendDisplay, LegendMarkerPosition, LegendReverse, LegendTextAutofit, getMarkerShape(), getMarkerSize(), setMarkerShape(), setMarkerSize()