Visit Gigasoft's Web Site
 ProEssentials v9 Help

RandomSubsetsToGraph

Scope

Pego, Pesgo, Pepso

Type

Property Array of type Int32

Default

empty

.NET

PeData.RandomSubsetsToGraph

Ocx|Vcl

RandomSubsetsToGraph

DLL

PEP_naRANDOMSUBSETSTOGRAPH

 

Purpose

You fill this array with zero based subset indices of those subsets you wish to include in the image. The order of subset indices can optionally control the order of how subsets are drawn. This property is also related to the ScrollingSubsets property.

 

ScrollingSubsets

Purpose

Zero

Display only those subset indexes specified.

Non-Zero

Make specified subset indices permanent.

 

Comments

PeData.RandomSubsetsToGraph members of Pego.PeData, Pesgo.PeData, Pepso.PeData

 

SubsetsToShow provides similar functionality and you may find it easier to use.

 

Within the demo, see example 002 and 033.

 

The following examples show how to specify the 3rd and 5th subsets to be graphed. All other subsets will be hidden.

 

.NET Example

Pego1.PeData.RandomSubsetsToGraph(0) = 2 'third subset

Pego1.PeData.RandomSubsetsToGraph(1) = 4 'fifth subset

 

OCX Example

Pego1.RandomSubsetsToGraph(0) = 2 'third subset

Pego1.RandomSubsetsToGraph(1) = 4 'fifth subset

 

C / C++ Example

int nArray[2];

nArray[0] = 2; // third subset

nArray[1] = 4; // fifth subset

PEvset (hWndPE, PEP_naRANDOMSUBSETSTOGRAPH, nArray, 2)

 

You may also need to empty this array in order to show all subsets. You can empty this property array and other property arrays as follows:

.NET: Pego1.PeData.RandomSubsetsToGraph.Clear()

 

ActiveX: PEGraph1.RandomSubsetsToGraph(-1) = 0

 

SDK/DLL: PEvset (hWndPE, PEP_naRANDOMSUBSETSTOGRAPH, nArray, 0)