Version

SetDataItemWidth Method (LinearMeasurements)

Item width within a set of items on a line.
Syntax
'Declaration
 
Public Function SetDataItemWidth( _
   ByVal itemCount As Integer, _
   ByVal inSetCount As Integer, _
   ByVal interSeriesSpacing As Integer, _
   ByVal interBarSpacing As Integer, _
   ByVal totalWidth As Integer _
) As Double
public double SetDataItemWidth( 
   int itemCount,
   int inSetCount,
   int interSeriesSpacing,
   int interBarSpacing,
   int totalWidth
)

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.

Return Value

The item's width 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