The SelectDateEnum type specifies how the user
can select dates in the chart part of the control. The user can select a date
in the chart at runtime by clicking the date in the control's header. The
AllowSelectDate
property specifies whether the user can select a date by clicking the chart's
header. The
MarkSelectDateColor
property indicates the color to show the selected dates within the chart. Programmatically
you can select a date using the
SelectDate
or
SelectDates properties. The
SelectLevel
property indicates the level being selected. The selected dates are not shown if the
MarkSelectDateColor property
has the same value as
BackColor property in
the Chart object. The control fires the
ChartStartChaning(exSelectDate)/
ChartEndChaning(exSelectDate)
events once the user selects a new date by clicking the chart's header.
| | Name | Value | Description | |
| |
exNoSelectDate | 0
|
No date is selected if the user clicks the chart's header. Even so, you still
can programmatically show selected dates using the SelectDate
or SelectDates properties.
| |
| |
exSelectDefault | -1
|
A date is being selected once the user clicks the chart's header. The old
selection of dates is cleared if no CTRL key is pressed. Clicking the date by
keeping the CTRL key down, will select or unselect the date from the
cursor. The SelectLevel property
indicates the date from the level is selected. For instance, if the chart
displays 2 levels, months and days, and clicking the month header, the entire
month is being selected. Clicking the days header will make the day selected. If
the chart is zoom-in or zoom-out ( a new scale is being selected ) the selected
zones are shown relative to the new levels. This option can not be
combined with any flag.
| |
| |
exSelectSingleDate | 8
|
Only a single date can be selected by clicking the chart's header. This is a
bit-flag that can be combined with other flags.
| |
| |
exSelectToggle | 16
|
A date is selected if previously was not selected and a date is being unselected
if previously was selected. This is a bit-flag that can be combined with other
flags. For instance, if the AllowSelectDate
property is
exSelectToggle +
exSelectZone, indicates that the user can toggle the selected dates, and the
zones are shown relative to any scale when zoom-in or zoom-out is preformed.
| |
| |
exSelectZone | 256
|
The zone is being selected once the user clicks the chart's header. For
instance, if the chart displays 2 levels, months and days, and clicking the
month header, the entire month is being selected. Clicking the days header will
make the day selected. If the control is zoom-in or zoom-out zone will be
relative to the new scale, so it is not indicating another zone. The zone is
keep even if the user zoom-in or zoom-out the chart, so the original selected
zone will be shown relative to the new scale, comparing with with the
exSelectDefault, where the zone is lost once a new scale is being selected. This
is a bit-flag that can be combined with other flags. For instance, if the AllowSelectDate
property is
exSelectToggle +
exSelectZone, indicates that the user can toggle the selected dates, and the
zones are shown relative to any scale when zoom-in or zoom-out is preformed.
| |