Type | Description | |||
Key as Variant | A String expression that specifies a key to identify the zone. The String must be not empty, else the zone is not highligted. If a zone with the same key is already added, the current call changes not missing parameters. | |||
Start as Variant | A DATE expression that specifies the starting point for the zone. | |||
End as Variant | A DATE expression that specifies the ending point for the zone. | |||
Color as Variant | A Color expression that specifies the date-time zone to be highlighted. The last 7 bits in the high significant byte of the color to indicates the identifier of the skin being used. Use the Add method to add new skins to the control. If you need to remove the skin appearance from a part of the control you need to reset the last 7 bits in the high significant byte of the color being applied to the background's part. | |||
Options as Variant | A String expression that specifies options to mark the zone, as explained bellow. |
A date-time zone can display a:
Also, a zone can display multiple HTML captions aligned to any corner of the zone. By default, all HTML captions are aligned to the bottom center area.
The following screen shot shows two zones being marked :
The Options parameter contains a list of fields separated by ; character as following:
The list continues by pair of HTML/Alignment elements. For instance, the ";;Caption <b>1</b>;1;Caption <b>2</b>;17;Caption <b>3</b>" specifies a three captions to be shown in the zone. For instance, the "50;;text to be shown,1" indicates that the zone is semi-transparent (5), displays a solid color ( the pattern field is missing ), and it displays "text to be shown" in the upper-center position of the zone.
By default, the text of the mark-time zone is not displayed in the chart's histogram area ( HistogramVisible property ), but you can provide multiple HTML caption to the histogram panels, after a ";;;" sequence as in the following sample: "25;;9/19/1994;1;;;Value<br><c><b>20;33" and it should look like follows: