.netCHARTING v10.5 Documentation


dotnetCHARTING Namespace > Series Class > Trim Method : Trim(CalendarPattern,ElementValue) Method
CalendarPattern used to trim the series.
ElementValue to match against the calendar pattern.
Trim(CalendarPattern,ElementValue) Method
Trims elements out of this series outside a specified CalendarPattern and element property.
Syntax
'Declaration
 
Public Overloads Sub Trim( _
   ByVal cp As CalendarPattern, _
   ByVal ev As ElementValue _
) 
'Usage
 
Dim instance As Series
Dim cp As CalendarPattern
Dim ev As ElementValue
 
instance.Trim(cp, ev)
public void Trim( 
   CalendarPattern cp,
   ElementValue ev
)

Parameters

cp
CalendarPattern used to trim the series.
ev
ElementValue to match against the calendar pattern.
Remarks
The ElementValue specified must be a System.DateTime property.
Requirements

Target Platforms: 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