TdxCustomDashboardControl.State Property
Provides access to the dashboard/user interaction state (in JSON).
Declaration
property State: TStringList read; write;
Property Value
| Type | Description |
|---|---|
| TStringList | Stores a dashboard state (as JSON strings). |
Remarks
The dashboard state includes filter criteria, drill-down values, the active tab page, dashboard parameter values, individual data visualization item states, and other configuration options modified by users.
Use the State property to load, save, and access the dashboard state (in the JSON format). Every State property value change raises the OnStateChanged event you can handle to save dashboard state changes to a file or stream.
Available Options
Call State.LoadFromFile/State.LoadFromStream and State.SaveToFile/State.SaveToStream procedures to import and export dashboard states in the JSON format.
In addition, you can use State.Strings and State.Text properties to access and modify dashboard states directly (if required).
Refer to the TStringList class description for detailed information on all available options.