Version

SetDataSet Method (LinearMeasurements)

Plots an item number in a collection of series, each with an equal number of items.
Syntax
'Declaration
 
Public Function SetDataSet( _
   ByVal itemCount As Integer, _
   ByVal inSetCount As Integer, _
   ByVal interSeriesSpacing As Integer, _
   ByVal interBarSpacing As Integer, _
   ByVal totalWidth As Integer, _
   ByVal item_i As Integer _
) As Integer
public int SetDataSet( 
   int itemCount,
   int inSetCount,
   int interSeriesSpacing,
   int interBarSpacing,
   int totalWidth,
   int item_i
)

Parameters

itemCount
Count of items.
inSetCount
Count of items per set.
interSeriesSpacing
Spacing between series as a multiple of each item width.
interBarSpacing
Spacing between items as a multiple of each item width.
totalWidth
Width of line.
item_i
Item number.

Return Value

The location of the item number, given the specified parameters.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also