Global Drilldown Effects

Like data labels, drilldown effects can take advantage of macros to yield data-specific drilldown effects for each data item in a graph or map. This lets you create global drilldown destinations—for example, a folder that contains an HTML file for each data item, or a context-sensitive Web application that generates a new Corda® image based upon the category and series of the data item that the user clicks. If used properly, the global drilldown destination can eliminate the need to set drilldown effects for data items individually.

For example, setting a global drilldown destination to http://myserver.com/morestats.jsp?%_SERIES_NAME redirects a user to http://myserver.com/morestats.jsp?Blue if they select any data item in the Blue series.

For a complete list of macros for graphs and maps, see Graph Meta Tags and Map Meta Tags in the Corda Builder™ User Guide.

Setting Global Drilldown

Set global drilldown using either ITXML or PCScript.

ITXML

To set global drilldown with ITXML, modify the url attribute of the drilldown property. More information about this object is available in the Corda 7 Object Reference in Corda Builder.

PCScript

To set global drilldown in PCScript, use the graph.ddEnable() method. Set the category and series parameter values to ranges that include every data item.