Debugging Charts
When a new chart is created in the GUI Builder, it contains a pre-defined Source Data table and pre-defined Source Data Bindings that refer this default source data. Together they provide a kind of "demo chart", illustrating its common appearance.
Once you've started to customize your chart, you change its Source Data Bindings to refer your server-side data model. During normal widget operation and in the editor preview mode, the Source Data table is changed by a binding, and than chart's dataset is correctly build upon this data.
However, when working in the editor, the system never gets data from the server. Therefore, once you have modified Source Data Bindings the system is no longer unable to build the chart since default Source Data table doesn't match the "real" bindings.
To solve this issue, the chart's context menu in the GUI Builder contains Load Real Source Data item. This operation causes the system to find widget binding pointing to current chart's Source Data, resolve its expression getting server data, and write this data into "editor-mode" Source Data table. After that you will be able to configure chart that uses real data.
To reset Source Data back to its original demo value, use Reset Source Data context menu item.
Was this page helpful?