Version

Mode2TimeOffset Method (TimeAxisBase)

Gets the horizontal offset for series which require horizontal offsetting in order to center data points over axis labels.
Syntax
'Declaration
 
Protected Overridable Function Mode2TimeOffset( _
   ByVal min As Date, _
   ByVal max As Date _
) As TimeSpan
protected virtual TimeSpan Mode2TimeOffset( 
   DateTime min,
   DateTime max
)

Parameters

min
The visible minimum date on this axis.
max
The visible maximum date on this axis.

Return Value

The horizontal offset to apply to series that require it.
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