Dashboard Scripting
Certain dashboard applications require you to implement a degree of intelligence and adaptability that would be difficult or impossible to design using only basic Viewsheet components. For example, you may wish to hide or show certain dashboard components under particular conditions, such as when a user's selection return no data. Likewise, you might wish to present an alert message if a certain key indicator does not meet its target.
For these purposes, Style Intelligence provides an embedded scripting environment for Viewsheets. The scripting environment allows you to implement event-driven logic that adaptively modifies dashboard appearance and behavior based on retrieved data, inputs from users, or other factors such as day, time, locale, etc. The scripting language is intended to be simple but powerful, requiring only minimal programming knowledge.
The scripting language is based on the ECMA-262 (JavaScript) standard. Since there are many outstanding books on JavaScript and the full specification of the language is available online, this Guide does not attempt to be a JavaScript reference. Instead, it provides a short introduction to JavaScript, but concentrates on the host Viewsheet environment and examples of common Viewsheet scripting.
| << 11.3 Matching Dynamic Values to Property Values | © 1996-2013 InetSoft Technology Corporation (v11.4) | 1 Contents >> |