Script

<< Click to Display Table of Contents >>

Current:  Create Dashboard 

Script

Previous pageReturn to chapter overviewNext page

Many dashboard environments require dynamic custom dashboards and custom business logic. These requirements range from creating query fields to setting up script queries; from modifying text colors to controlling user interaction behavior; from adding calculators to controlling table rendering, and so on. Yonghong Z-Suite has a complete scripting environment to support users' various dynamic needs. The script system is a widely used function in Yonghong Z-Suite products. It allows users to customize some advanced requirements and is an important module to decide whether a product is powerful or not.

The scripting system  is supported by the JavaScript language standard. The scripting environment can fully access the component's bindings, attributes, and data input; it can perform tasks when the dashboard is initialized; it can handle user interactions.

Application scenarios for scripts, including custom fields for queries, script queries, calculators, dynamic calculators, table rendering, component-level scripts, and dashboard-level scripts. Refer to the script section for details.