Version

setDataItemWidth Method (Axis)

Item width within a set of items on a line.
Syntax
'Declaration
 
Public Shared 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 static 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