TTMSFNCChart.AddSeriesFromMultiPointDataArray Method
Creates a new OHLC or box plot series from separate high, low, open, close, and optional median value arrays; returns the new series.
API unit family: TMSFNCChart
Declaring type: TTMSFNCChart
Overloads
Overload 1
Creates a new OHLC or box plot series from separate high, low, open, close, and optional median value arrays; returns the new series.
function AddSeriesFromMultiPointDataArray(YHighValuesArray: TTMSFNCChartValuesArray; YLowValuesArray: TTMSFNCChartValuesArray; YOpenValuesArray: TTMSFNCChartValuesArray; YCloseValuesArray: TTMSFNCChartValuesArray; YMedianValuesArray: TTMSFNCChartValuesArray = nil; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil): TTMSFNCChartSerie; overload; virtual;
Parameters
| Name | Description |
|---|---|
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
Creates a new OHLC or box plot series using explicit load options and returns it.
function AddSeriesFromMultiPointDataArray(ALoadOptions: TTMSFNCChartLoadOptions; 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. |
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.