[]
Provides basic groups for DateTime values that extend beyond one month. Although default groups are provided, explicit selection of the groups and format are possible.
public class DateTimeGroupProvider : IAxisGroupProvider
Name | Description |
---|---|
DateTimeGroupProvider() | This contstructor allows automatic generation of groups based upon the axis range. |
DateTimeGroupProvider(IAxis) | This constructor allows automatic generation of groups based upon the axis range and the axis MajorUnit value. |
Name | Description |
---|---|
GroupFormats | Get a dictionary of formats keyed by the TimeUnits enum of each group. Each value specifies the string.Format() of the numeric value followed by the year, with the exception of TimeUnits.Month for which the format specifies either all "M" characters (for the month name) or the numeric value of the month and year. Note if {1} is not included in the format, the year is not included. Default formats are Day="{0}", Week="Week {0}, Month="MMM", Quarter="Q{0}", "Year="{0}". |
GroupTypes | Gets the collection of group specifiers using the TimeUnits enumeration. The index of each specifier indicates (level-1). Specifiers modified using the collection Add, Insert and Remove methods of the collection. If no values are specified, values are automatically selected based on the range. |
Name | Description |
---|---|
GetLevels(IRange) | As the first method called by FlexChart, this method provides the number of group levels provided by the class. |
GetRanges(IRange, int) | Returns a list of IRange values for the level specified the by the appropriate entry in the GroupTypes collection. |