Skip to main content
Table of Contents

TTMSFNCChartSerie.AddSecondPoint Method

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

API unit family: TMSFNCChart Declaring type: TTMSFNCChartSerie

Overloads

Overload 1

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

FMX.TMSFNCChart.hppPascalC++
function AddSecondPoint(AYValue, AYValueSecond: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;
TTMSFNCChartPoint* __fastcall AddSecondPoint(double AYValue, double AYValueSecond, TTMSFNCGraphicsColor AColor = (System::Uitypes::TAlphaColor)(0x0), System::UnicodeString ALegendText = System::UnicodeString())/* 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.

FMX.TMSFNCChart.hppPascalC++
function AddSecondPoint(AYValue, AYValueSecond: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;
TTMSFNCChartPoint* __fastcall AddSecondPoint(double AYValue, double AYValueSecond, System::UnicodeString AXValueText, TTMSFNCGraphicsColor AColor = (System::Uitypes::TAlphaColor)(0x0), System::UnicodeString ALegendText = System::UnicodeString())/* 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.