TTMSFNCBarChartSerie.AddPoint Method
Adds a point with a primary y-value and optional color and legend text; returns the new point.
API unit family: TMSFNCChart
Declaring type: TTMSFNCBarChartSerie
Inherited from: TTMSFNCChartSerie
Overloads
Overload 1
Adds a point with a primary y-value and optional color and legend text; returns the new point.
function AddPoint(AYValue: Double; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;
Parameters
| Name | Description |
|---|---|
AYValue |
Primary y-value of the point. |
AColor |
Per-point fill color override; gcNull inherits the series color. |
ALegendText |
Text shown in the legend for this point; used by pie and spider charts. |
Returns
Returned value.
Overload 2
Adds a point with a y-value and x-axis label text; returns the new point.
function AddPoint(AYValue: Double; AXValueText: String; AColor: TTMSFNCGraphicsColor = gcNull; ALegendText: String = ''): TTMSFNCChartPoint; overload;
Parameters
| Name | Description |
|---|---|
AYValue |
Primary y-value of the point. |
AXValueText |
Text label shown on the x-axis for this point. |
AColor |
Per-point fill color override; gcNull inherits the series color. |
ALegendText |
Legend label for this point. |
Returns
Returned value.