Skip to main content
Table of Contents

TTMSFNCChartSerie.AddXYPoint Method

Adds a scatter point with explicit x and y coordinates; returns the new point.

API unit family: TMSFNCChart Declaring type: TTMSFNCChartSerie

Overloads

Overload 1

Adds a scatter point with explicit x and y coordinates; returns the new point.

FMX.TMSFNCChart.hppPascalC++
function AddXYPoint(AXValue, AYValue: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;
TTMSFNCChartPoint* __fastcall AddXYPoint(double AXValue, double AYValue, TTMSFNCGraphicsColor AColor = (System::Uitypes::TAlphaColor)(0x0), System::UnicodeString ALegendText = System::UnicodeString())/* overload */;

Parameters

Name Description
AXValue Numeric x-coordinate.
AYValue Primary y-value.
AColor Per-point fill color override.
ALegendText Legend label for this point.

Returns

Returned value.

Overload 2

Adds a scatter point with explicit x and y coordinates and an x-axis label; returns the new point.

FMX.TMSFNCChart.hppPascalC++
function AddXYPoint(AXValue, AYValue: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;
TTMSFNCChartPoint* __fastcall AddXYPoint(double AXValue, double AYValue, System::UnicodeString AXValueText, TTMSFNCGraphicsColor AColor = (System::Uitypes::TAlphaColor)(0x0), System::UnicodeString ALegendText = System::UnicodeString())/* overload */;

Parameters

Name Description
AXValue Numeric x-coordinate.
AYValue Primary 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.