Version

SetDataItem Method (LinearMeasurements)

Location of an item, given a set number of items on this line.
Syntax
'Declaration
 
Public Function SetDataItem( _
   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 SetDataItem( 
   int itemCount,
   int inSetCount,
   int interSeriesSpacing,
   int interBarSpacing,
   int totalWidth,
   int item_i
)

Parameters

itemCount
Count of items.
inSetCount
Count of items in this 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 specified item, 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