Understanding the Dashboard Framework
The previous chapter introduced the basic scripting concepts required to assign code directly to the Script property of an object. However, as dashboards become more complex, repetitive code across shapes should be extracted to create global functions that can be used by all objects in the document. The process of creating a set of global functions permits report authors to create and maintain a customized framework of JavaScript code in a centralized location within the Interactive Reporting document.
The strategy used in this guide, called the Dashboard Framework, is simply an organization of global code contained within reusable global functions invoked by objects across the document.
Chapter 9, The Central Code Repository, goes one step further and demonstrates the process for storing...