Table of Contents

TTMSFNCChart.LoadFromMultiPointDataArray Method

Replaces the points in an existing OHLC or box plot series with values from the supplied arrays; returns the updated series.

API unit family: TMSFNCChart Declaring type: TTMSFNCChart

Overloads

Overload 1

Replaces the points in an existing OHLC or box plot series with values from the supplied arrays; returns the updated series.

function LoadFromMultiPointDataArray(ASerieIndex: Integer; YHighValuesArray: TTMSFNCChartValuesArray; YLowValuesArray: TTMSFNCChartValuesArray; YOpenValuesArray: TTMSFNCChartValuesArray; YCloseValuesArray: TTMSFNCChartValuesArray; YMedianValuesArray: TTMSFNCChartValuesArray = nil; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil): TTMSFNCChartSerie; overload; virtual;

Parameters

Name Description
ASerieIndex Zero-based index of the series to replace points in.
YHighValuesArray Array of high values.
YLowValuesArray Array of low values.
YOpenValuesArray Array of open values.
YCloseValuesArray Array of close values.
YMedianValuesArray Optional array of median values for box plot.
XValuesArray Optional array of x-coordinates.
XLabelsArray Optional array of x-axis label strings.

Returns

Returned value.

Overload 2

Replaces the points in an existing series with OHLC or box plot values using explicit load options; returns the updated series.

function LoadFromMultiPointDataArray(ALoadOptions: TTMSFNCChartLoadOptions; ASerieIndex: Integer; YHighValuesArray: TTMSFNCChartValuesArray; YLowValuesArray: TTMSFNCChartValuesArray; YOpenValuesArray: TTMSFNCChartValuesArray; YCloseValuesArray: TTMSFNCChartValuesArray; YMedianValuesArray: TTMSFNCChartValuesArray = nil; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = 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.
YHighValuesArray Array of high values.
YLowValuesArray Array of low values.
YOpenValuesArray Array of open values.
YCloseValuesArray Array of close values.
YMedianValuesArray Optional array of median values for box plot.
XValuesArray Optional array of x-coordinates.
XLabelsArray Optional array of x-axis label strings.

Returns

Returned value.