Skip to main content

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.v24.1.Web.dll

NuGet Package: DevExpress.Web.Visualization

Declaration

[DefaultValue(true)]
public bool SaveStateOnCallbacks { get; set; }

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.

See Also