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


cp
CalendarPatternused to determine whether the default elements properties should be applied.
ev
DateTime Element value property to compare against the CalendarPattern.
defaultElement
An Element object whose properties will be applied to elements in this series that meet the comparison criteria.
Applies property settings of the specified default element to elements in this series that are outside a specified CalendarPattern and corresponding DateTime element property.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SelectiveElementDefaults( _
   ByVal cp As CalendarPattern, _
   ByVal ev As ElementValue, _
   ByVal defaultElement As Element _
) 
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim cp As CalendarPattern
Dim ev As ElementValue
Dim defaultElement As Element
 
instance.SelectiveElementDefaults(cp, ev, defaultElement)
C# 
public void SelectiveElementDefaults( 
   CalendarPattern cp,
   ElementValue ev,
   Element defaultElement
)

Parameters

cp
CalendarPatternused to determine whether the default elements properties should be applied.
ev
DateTime Element value property to compare against the CalendarPattern.
defaultElement
An Element object whose properties will be applied to elements in this series that meet the comparison criteria.

See Also

© 2011 All Rights Reserved.