Table of Contents

TTMSFNCChartSerie.LoadFromDataArray Method

Replaces all points with data from a y-values array; optional x-values and x-labels arrays.

API unit family: TMSFNCChart Declaring type: TTMSFNCChartSerie

Overloads

Overload 1

Replaces all points with data from a y-values array; optional x-values and x-labels arrays.

procedure LoadFromDataArray(YValuesArray: TTMSFNCChartValuesArray; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil); overload; virtual;

Parameters

Name Description
YValuesArray Array of primary y-values.
XValuesArray Optional array of x-coordinates for XY chart types.
XLabelsArray Optional array of x-axis label strings.

Overload 2

Replaces all series data in this series with values from arrays, applying the specified load options.

procedure LoadFromDataArray(ALoadOptions: TTMSFNCChartLoadOptions; YValuesArray: TTMSFNCChartValuesArray; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil); overload; virtual;

Parameters

Name Description
ALoadOptions Options controlling which series fields are populated and how data is interpreted.
YValuesArray Array of y-values to load.
XValuesArray Optional array of x-coordinates; when nil, integer indices are used.
XLabelsArray Optional array of x-axis labels.