Version

GetOffset(Rect,Rect,Rect,Int32,Int32) Method

Gets the horizontal offset to apply to series on this axis.
Syntax
'Declaration
 
Protected Friend Overloads Overridable Function GetOffset( _
   ByVal windowRect As Rect, _
   ByVal viewportRect As Rect, _
   ByVal effectiveViewportRect As Rect, _
   ByVal seriesIndex As Integer, _
   ByVal categoryMode As Integer _
) As Double
protected internal virtual double GetOffset( 
   Rect windowRect,
   Rect viewportRect,
   Rect effectiveViewportRect,
   int seriesIndex,
   int categoryMode
)

Parameters

windowRect
The window rectangle.
viewportRect
The viewport rectangle.
effectiveViewportRect
The effective viewport rectangle.
seriesIndex
The index of the series being horizontally offset.
categoryMode
The Category Mode in context. 0 for overlaid series, 1 for non-grouped offset series, or 2 for grouped and offset series.

Return Value

The horizontal offset to apply to series on this axis.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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