Telerik Reporting R1 2017

Graph Item Actions

The Graph item supports actions on the axis labels defined by the Graph's category groups (Graph.CategoryGroups.Action), and on series' data points (Graph.SeriesGroups.Action).

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).

Note Note

When the axis uses a NumericalScale, LogarithmicScale, 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 Graph.CategoryGroups.Action property.

Add action using the Graph Wizard

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).

Add action using properties

  1. Select the Graph item.

    The selected graph properties are listed in the Property Browser.

  2. In the CategoryGroups property, click the Edit Collection (…) button. The GraphGroup Collection Editor opens.

  3. 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.

  4. In the Action property, click the Edit Collection (…) button. The Edit Action dialog opens.

  5. Setup the desired action.

Note Note

Category group drill-down action can toggle the visibility of its child groups only. Use the child group's Visible property to setup its initial visibility state.

See Also

Reference

Other Resources