![]() | Type | Description | ||
| Unit as UnitEnum | An UnitEnum expression that indicates the time unit | |||
| String | A String expression that includes the format of the label. |
The Label property supports alternative HTML labels being separated by "<|>" and values for Count and Unit being separated by "<||>". By alternate HTML label we mean that you can define a list of HTML labels that may be displayed in the chart's header based on the space allocated for the time-unit. In other words, the control chooses automatically the alternate HTML label to be displayed for best fitting in the portion of the chart where the time-unit should be shown.
The Label property format is "ALT1[<|>ALT2<|>...[<||>COUNT[<||>UNIT]]]" where
The Label property may change the Unit and the Count property. You can always use a different Unit or Count by setting the property after setting the Label property.
The Label property supports the following built-in tags:
The following tags are displayed based on the user's Regional and Language Options:
The Label property supports the following built-in HTML tags:
The Label property may be a combination of any of these tags. For instance, the "<b><%mmm%></b> <%d%>, '<%yy%>" displays a date like: "May 29,'05".
By default, the Label property is:
For instance the Label(exWeek) is "<|><%ww%><|><%m3%> <%d%>, '<%yy%><r><%ww%><|><%mmmm%> <%d%>, <%yyyy%><r><%ww%><||><||>256" which means that if a level's unit is set on exWeek it may display one of the following alternate labels:
So actually, the control will choose any of these formats based on the UnitWidth, Font and the layout of the levels.