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.

function AddXYPoint(AXValue, AYValue: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; 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.

function AddXYPoint(AXValue, AYValue: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; 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.