dotnetCHARTING Send comments on this topic.
Trim Method
See Also 
dotnetCHARTING Namespace > Series Class : Trim Method


Overload List

OverloadDescription
Trim(Double,Double,ElementValue,Boolean) Trims elements out of this series either within or ourside the specified numeric range and element property.  
Trim(Double,Double,ElementValue) Trims the elements ourside the specified numeric range and element property. dotnetCHARTING.ScaleRange.  
Trim(ScaleRange,ElementValue,Boolean) Trims the elements either within or ourside the specified values. dotnetCHARTING.ScaleRange.  
Trim(ScaleRange,ElementValue) Trims elements out of this series based on a specified CalendarPattern and element property.  
Trim(DateTime,DateTime,ElementValue,Boolean) Trims elements out of this series either within or ourside the specified time range and element property.  
Trim(DateTime,DateTime,ElementValue) Trims elements out of this series based on a specified CalendarPattern and element property.  
Trim(CalendarPattern,ElementValue,Boolean) Trims elements out of this series either within or ourside the specified CalendarPattern and element property.  
Trim(CalendarPattern,ElementValue) Trims elements out of this series outside a specified CalendarPattern and element property.  
Trim(String,Boolean)A trim method used with organizational charts to facilitate interactive navigation. It returns a series of elements leaving only those with IDs specified in the parentIDList and their immediate children.

If addAttributes is true, custom attributes are also added to describe the nodes.

Attribute: "NodeType"

  • Root - The root node of this series.
  • RootWithParents - Root of the result but has parents in this series.
  • NoChildren - End node of the resulting series and has no children in this series.

Attribute: "OrganizationalLevel"

  • Integer specifying the organizational level from 1 to n of levels available.

 

Trim(Int32) Trims this series of elements leaving only the specified number of levels from the root element.  
Trim(Int32,Int32)

Trims this series of elements leaving only the element with the specified ID and visibleLevels number of levels of children. This method can be used with organizational charts.

Custom attributes are also added to describe the nodes.

Attribute: "NodeType"

  • Root - The root node of this series.
  • RootWithParents - Root of the result but has parents in this series.
  • NoChildren - End node of the resulting series and has no children in this series.
  • EndNodeWithChildren - End node of the resulting series that has children in this series.

Attribute: "OrganizationalLevel"

  • Integer specifying the organizational level from 1 to n of levels available.
 
Trim(Int32,Int32,Boolean)

Trims this series of elements leaving only the element with the specified ID and visibleLevels number of levels of children. This method can be used with organizational charts.

If addAttributes is true, custom attributes are also added to describe the nodes.

Attribute: "NodeType"

  • Root - The root node of this series.
  • RootWithParents - Root of the result but has parents in this series.
  • NoChildren - End node of the resulting series and has no children in this series.
  • EndNodeWithChildren - End node of the resulting series that has children in this series.

Attribute: "OrganizationalLevel"

  • Integer specifying the organizational level from 1 to n of levels available.
 
Trim(Element,Int32)

Trims this series of elements leaving only the specified element and visibleLevels number of levels of children. This method can be used with organizational charts.

Custom attributes are also added to describe the nodes.

Attribute: "NodeType"

  • Root - The root node of this series.
  • RootWithParents - Root of the result but has parents in this series.
  • NoChildren - End node of the resulting series and has no children in this series.
  • EndNodeWithChildren - End node of the resulting series that has children in this series.

Attribute: "OrganizationalLevel"

  • Integer specifying the organizational level from 1 to n of levels available.
 
Trim(Element,Int32,Boolean)

Trims this series of elements leaving only the specified element and visibleLevels number of levels of children. This method can be used with organizational charts.

If addAttributes is true, custom attributes are also added to describe the nodes.

Attribute: "NodeType"

  • Root - The root node of this series.
  • RootWithParents - Root of the result but has parents in this series.
  • NoChildren - End node of the resulting series and has no children in this series.
  • EndNodeWithChildren - End node of the resulting series that has children in this series.

Attribute: "OrganizationalLevel"

  • Integer specifying the organizational level from 1 to n of levels available.
 

See Also

© 2010 All Rights Reserved.