Skip to main content
All docs
V25.1
  • TdxCustomChartControl.SaveToStream(TStream) Method

    Saves series data from all diagrams to the specified stream.

    Declaration

    procedure SaveToStream(AStream: TStream);

    Parameters

    Name Type Description
    AStream TStream

    The target stream.

    Remarks

    Call the SaveToStream procedure to save only series data from all diagrams to a stream. Then, you can call the LoadFromStream procedure to load series data if the Chart control has the corresponding diagrams and series.

    Important

    The SaveToStream procedure saves only series data, and the resulting stream does not include information about the Chart control layout, diagrams, and their series. You need to store this information separately.

    See Also