Table of Contents

TTMSFNCOHLCChart.AppendFromMultiPointDataArray Method

Appends OHLC or box plot values to an existing series without removing existing points; returns the series.

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

Overloads

Overload 1

Appends OHLC or box plot values to an existing series without removing existing points; returns the series.

function AppendFromMultiPointDataArray(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 append to.
YHighValuesArray Array of high values to append.
YLowValuesArray Array of low values to append.
YOpenValuesArray Array of open values to append.
YCloseValuesArray Array of close values to append.
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

Appends OHLC or box plot values to an existing series using explicit load options without removing existing points; returns the series.

function AppendFromMultiPointDataArray(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 append to.
YHighValuesArray Array of high values to append.
YLowValuesArray Array of low values to append.
YOpenValuesArray Array of open values to append.
YCloseValuesArray Array of close values to append.
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.