WebChartControl.SaveStateOnCallbacks Property
Gets or sets a value indicating whether a chart’s view state should be saved between multiple callbacks.
Namespace: DevExpress.XtraCharts.Web
Assembly: DevExpress.XtraCharts.v19.1.Web.dll
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | **true** | true to state a chart’s view state between callbacks; otherwise, false. |
Remarks
Use the SaveStateOnCallbacks property to decide if the current state of chart properties should be passed between a server and a client on callbacks. To reduce the amount of passed information, set the SaveStateOnCallbacks property to false.
In addition, you can handle the WebChartControl.CallbackStateSave and WebChartControl.CallbackStateLoad events to manually specify which property values should be stored between callbacks. Note that if the SaveStateOnCallbacks property value is set to false, these events aren’t raised at all.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the SaveStateOnCallbacks property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.