The Graph item supports actions on the axis labels defined by the Graph's category groups (
Graph.CategoryGroups.Action), and on series' data points (
The labels for an axis with
CategoryScale are produced by the graph's category groups. They are layout in levels based on the corresponding category group from the group hierarchy. Graph groups that are part of the CategoryGroups hierarchy support interactive actions. The added actions will make the graph axis labels interactive (clickable).
When the axis uses a
DateTimeScale, the labels for an axis are produced automatically based on the Scale properties. In such case, only data points are clickable after setting the
The easiest way to setup drill-down graph categories is to use the Graph Wizard. When the category groups hierarchy contains more than one level (parent-child relation) the wizard will generate a drill-down action for each parent group so that it collapses its children. The initial state of the child groups will be collapsed (not visible).
Select the Graph item. The selected graph properties are listed in the Property Browser.
In the CategoryGroups property, click the Edit Collection (…) button. The GraphGroup Collection Editor opens.
Select the category group you want to add an action to. It should contain child group(s) that will be used as toggle visibility target. The selected graph group properties are listed in the Property Browser on the left.
In the Action property, click the Edit Collection (…) button. The Edit Action dialog opens.
Setup the desired action.
Category group drill-down action can toggle the visibility of its child groups only. Use the child group's
Visibleproperty to setup its initial visibility state.
Adding an action to a series group is identical to the approach shown above.