Table of Contents

TTMSFNCBarChartSerie.AddMultiPoint Method

Adds an OHLC or candlestick point with open, high, low, close values; returns the new point.

API unit family: TMSFNCChart Declaring type: TTMSFNCBarChartSerie Inherited from: TTMSFNCChartSerie

Overloads

Overload 1

Adds an OHLC or candlestick point with open, high, low, close values; returns the new point.

function AddMultiPoint(AYValueOpen, AYValueHigh, AYValueLow, AYValueClose: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;

Parameters

Name Description
AYValueOpen Opening value.
AYValueHigh High value.
AYValueLow Low value.
AYValueClose Closing value.
AColor Per-point color override.
ALegendText Legend label for this point.

Returns

Returned value.

Overload 2

Adds an OHLC or candlestick point with an x-axis label; returns the new point.

function AddMultiPoint(AYValueOpen, AYValueHigh, AYValueLow, AYValueClose: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;

Parameters

Name Description
AYValueOpen Opening value.
AYValueHigh High value.
AYValueLow Low value.
AYValueClose Closing value.
AXValueText Text label shown on the x-axis.
AColor Per-point color override.
ALegendText Legend label for this point.

Returns

Returned value.

Overload 3

Adds a box plot point with minimum, Q1, median, Q3, and maximum values; returns the new point.

function AddMultiPoint(AYValueMinimum, AYValueQ1, AYValueMedian, AYValueQ3, AYValueMaximum: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;

Parameters

Name Description
AYValueMinimum Minimum (whisker) value.
AYValueQ1 First quartile value.
AYValueMedian Median value.
AYValueQ3 Third quartile value.
AYValueMaximum Maximum (whisker) value.
AColor Per-point color override.
ALegendText Legend label for this point.

Returns

Returned value.

Overload 4

Adds a box plot point with an x-axis label; returns the new point.

function AddMultiPoint(AYValueMinimum, AYValueQ1, AYValueMedian, AYValueQ3, AYValueMaximum: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;

Parameters

Name Description
AYValueMinimum Minimum (whisker) value.
AYValueQ1 First quartile value.
AYValueMedian Median value.
AYValueQ3 Third quartile value.
AYValueMaximum Maximum (whisker) value.
AXValueText Text label shown on the x-axis.
AColor Per-point color override.
ALegendText Legend label for this point.

Returns

Returned value.