The requested page is not available for the requested platform. You are viewing the content for Default platform.

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.2.Web.dll

Declaration

[DefaultValue(true)]
public bool SaveStateOnCallbacks { get; set; }
<DefaultValue(True)>
Public Property SaveStateOnCallbacks As Boolean

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