The SelectObjectEnum type specifies whether the
user can select bars, links single bar selection or single link selection, and
so on. Use the
AllowSelectObjects
property to specify the objects that can be selected in the chart at runtime.
Use the
SelectedObjects property to
get a list of selected objects based on your criteria.
| | Name | Value | Description | |
| |
exNoSelectObjects | 0
|
The user can't select any object in the chart area.
| |
| |
exSelectBarsOnly | 1
|
The user can select bars only.
| |
| |
exSelectLinksOnly | 2
|
The user can select links only.
| |
| |
exSelectObjects | 3
|
The user can select any object in the chart.
| |
| |
exSelectSingleObject | 16
|
If present, it specifies whether the user can select one or multiple objects.
For instance, the
exSelectBarsOnly Or
exSelectSingleObject specifies that the user can select a single bar in the
chart. The exSelectLinksOnly Or
exSelectSingleObject specifies that the user can select a single link in the
chart.
| |
| |
exObjectsJustAdded | 32
|
The SelectedObjects property retrieves only the object being added since last
selection change. For instance, the SelectedObjects( exSelectBarsOnly Or exObjectsJustAdded ) retrieves a collection that specifies only the bars being selected since last selection change.
| |
| |
exObjectsJustRemoved | 64
|
The SelectedObjects property retrieves only the object being removed since last
selection change. For instance, the SelectedObjects( exSelectBarsOnly Or exObjectsJustRemoved ) retrieves a collection that specifies only the bars being un-selected since last selection change.
| |