Table of Contents

TTMSFNCOHLCChart.LoadFromDataArrayEx Method

Replaces the points in an existing series with y-values and optional secondary/variable value arrays; returns the updated series.

API unit family: TMSFNCChart Declaring type: TTMSFNCOHLCChart Inherited from: TTMSFNCChart

Overloads

Overload 1

Replaces the points in an existing series with y-values and optional secondary/variable value arrays; returns the updated series.

function LoadFromDataArrayEx(ASerieIndex: Integer; YValuesArray: TTMSFNCChartValuesArray; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil; YSecondValuesArray: TTMSFNCChartValuesArray = nil; YVariableValuesArray: TTMSFNCChartValuesArray = nil): TTMSFNCChartSerie; overload; virtual;

Parameters

Name Description
ASerieIndex Zero-based index of the series to replace points in.
YValuesArray Array of primary y-values.
XValuesArray Optional array of x-coordinates.
XLabelsArray Optional array of x-axis label strings.
YSecondValuesArray Optional array of second y-values for band charts.
YVariableValuesArray Optional array of variable radius values for variable-radius pie.

Returns

Returned value.

Overload 2

Replaces the points in an existing series including optional secondary and variable arrays using explicit load options; returns the updated series.

function LoadFromDataArrayEx(ALoadOptions: TTMSFNCChartLoadOptions; ASerieIndex: Integer; YValuesArray: TTMSFNCChartValuesArray; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil; YSecondValuesArray: TTMSFNCChartValuesArray = nil; YVariableValuesArray: TTMSFNCChartValuesArray = nil): TTMSFNCChartSerie; overload; virtual;

Parameters

Name Description
ALoadOptions Import options controlling range and format.
ASerieIndex Zero-based index of the series to replace points in.
YValuesArray Array of primary y-values.
XValuesArray Optional array of x-coordinates.
XLabelsArray Optional array of x-axis label strings.
YSecondValuesArray Optional array of second y-values for band charts.
YVariableValuesArray Optional array of variable radius values for variable-radius pie.

Returns

Returned value.