Skip to main content

ChartControlSettings.SaveToStream(Stream) Method

Saves the chart’s layout to the specified stream.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v24.1.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public void SaveToStream(
    Stream stream
)

Parameters

Name Type Description
stream Stream

A Stream descendant to which the chart’s layout is written.

Remarks

The SaveToStream method saves the chart’s layout (the currently selected series views and its settings, etc.) to the specified stream. The saved settings can then be restored from storage using the ChartControlSettings.LoadFromStream method.

For more information, refer to Storing the Chart Layout.

See Also