TTMSFNCPieChart.LoadFromDataArray Method
Replaces the points in an existing series with y-values from the array and returns the updated series.
API unit family: TMSFNCChart
Declaring type: TTMSFNCPieChart
Inherited from: TTMSFNCChart
Overloads
Overload 1
Replaces the points in an existing series with y-values from the array and returns the updated series.
function LoadFromDataArray(ASerieIndex: Integer; YValuesArray: TTMSFNCChartValuesArray; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil): TTMSFNCChartSerie; overload; virtual;
Parameters
| Name | Description |
|---|---|
ASerieIndex |
Zero-based index of the series to replace points in. |
YValuesArray |
Array of primary y-values. |
XValuesArray |
Optional array of x-coordinates. |
XLabelsArray |
Optional array of x-axis label strings. |
Returns
Returned value.
Overload 2
Replaces the points in an existing series using explicit load options; returns the updated series.
function LoadFromDataArray(ALoadOptions: TTMSFNCChartLoadOptions; ASerieIndex: Integer; YValuesArray: TTMSFNCChartValuesArray; XValuesArray: TTMSFNCChartValuesArray = nil; XLabelsArray: TTMSFNCChartLabelsArray = nil): TTMSFNCChartSerie; overload; virtual;
Parameters
| Name | Description |
|---|---|
ALoadOptions |
Import options controlling range and format. |
ASerieIndex |
Zero-based index of the series to replace points in. |
YValuesArray |
Array of primary y-values. |
XValuesArray |
Optional array of x-coordinates. |
XLabelsArray |
Optional array of x-axis label strings. |
Returns
Returned value.