See Also

CalendarPattern Members  | dotnetCHARTING Namespace  | AxisMarker Class  | Trim(dotnetCHARTING.CalendarPattern, dotnetCHARTING.ElementValue) Method (dotnetCHARTING.Series)

Requirements

Namespace: dotnetCHARTING

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: dotnetCHARTING (in dotnetCHARTING.dll)

Language

Visual Basic

C#

JScript

Show All

See Also Requirements Languages dotnetCHARTING Send comments on this topic.

CalendarPattern Class

Specifies a calendar pattern such as weekends in a week.

For a list of all members of this type, see CalendarPattern members.

Inheritance Hierarchy

System.Object
   dotnetCHARTING.CalendarPattern

Syntax

[Visual Basic]
Public Class CalendarPattern
[C#]
public class CalendarPattern
[JScript]
public class CalendarPattern

Remarks

The pattern is represented by an array of boolean values. CalendarPattern.PatternFromString can be used to quickly create patterns using simple strings. A week pattern would look like this: "0000000". A zero for each day of the week. To indicate weekends the pattern will be "1000001". The time units must also be specified.

Each one or zero represents a day:
myCalendarPattern.PatternUnit = TimeInterval.Day


The entire pattern represents a week:
myCalendarPattern.CalendarUnit = TimeInterval.Week


The above calendar pattern will flag each saturday and sunday in a given, time span.

Requirements

Namespace: dotnetCHARTING

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

Assembly: dotnetCHARTING (in dotnetCHARTING.dll)

See Also

CalendarPattern Members  | dotnetCHARTING Namespace  | AxisMarker Class  | Trim(dotnetCHARTING.CalendarPattern, dotnetCHARTING.ElementValue) Method (dotnetCHARTING.Series)

 

 


2002 - 2004 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.