Table of Contents

TTMSFNCBarChartSerie.AddSecondPoint Method

Adds a band point with primary and secondary y-values; returns the new point.

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

Overloads

Overload 1

Adds a band point with primary and secondary y-values; returns the new point.

function AddSecondPoint(AYValue, AYValueSecond: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;

Parameters

Name Description
AYValue Upper boundary y-value.
AYValueSecond Lower boundary y-value.
AColor Per-point fill color override.
ALegendText Legend label for this point.

Returns

Returned value.

Overload 2

Adds a band point with primary and secondary y-values and an x-axis label; returns the new point.

function AddSecondPoint(AYValue, AYValueSecond: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;

Parameters

Name Description
AYValue Upper boundary y-value.
AYValueSecond Lower boundary y-value.
AXValueText Text label shown on the x-axis.
AColor Per-point fill color override.
ALegendText Legend label for this point.

Returns

Returned value.