dotnetCHARTING Send comments on this topic.
Trim(CalendarPattern,ElementValue,Boolean) Method
See Also 
dotnetCHARTING Namespace > Series Class > Trim Method : Trim(CalendarPattern,ElementValue,Boolean) Method


cp
CalendarPattern used to trim the series.
ev
ElementValue to match against the calendar pattern.
inclusive
Whether to trim elements within or outside the specified range. False by default (trims outside the range when calling the method without the inclusive parameter or when set to false.
Trims elements out of this series either within or ourside the specified CalendarPattern and element property.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub Trim( _
   ByVal cp As CalendarPattern, _
   ByVal ev As ElementValue, _
   ByVal inclusive As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim cp As CalendarPattern
Dim ev As ElementValue
Dim inclusive As Boolean
 
instance.Trim(cp, ev, inclusive)
C# 
public void Trim( 
   CalendarPattern cp,
   ElementValue ev,
   bool inclusive
)

Parameters

cp
CalendarPattern used to trim the series.
ev
ElementValue to match against the calendar pattern.
inclusive
Whether to trim elements within or outside the specified range. False by default (trims outside the range when calling the method without the inclusive parameter or when set to false.

Remarks

The ElementValue specified must be a DateTime property.

See Also

© 2011 All Rights Reserved.